Skip to content

-B option in image module #5635

Closed
Closed

Description

@maxrjones

Description of the problem

The documentation lists -B as an optional argument in the image documentation. Is this correct? Some tests suggest that -B does not have any impact on the output from image. For example:

gmt image @needle.jpg -Dx0/0+w7c -JM12c -JZ14c -p200/30 -B+w1p+gred3+t"title" -pdf plot

Activity

  1. added
    documentation
    on Aug 11, 2021
  2. PaulWessel commented on Aug 11, 2021

    @PaulWessel
    Contributor

    Certainly a problem somewhere. If I add -B0 to your command I to get a title on top of the image (i.e., in the wrong location):

    gmt image @needle.jpg -Dx0/0+w7c -JM12c -JZ14c -p200/30 -B0 -B+w1p+gred3+t"title" -png

    plot
    plot

    Probably some confusion as to what -R is in this case. Also, not sure if -JM should even be allowed here - that is not a geotiff with a geographic region you are plotting - the jpg has nothing....

  3. added
    bug
    and removed
    documentation
    on Mar 13, 2024
  4. added a commit that references this issue on May 15, 2026
    f6474f9
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions