Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

-B option in image module #5635

Open
maxrjones opened this issue Aug 11, 2021 · 1 comment
Open

-B option in image module #5635

maxrjones opened this issue Aug 11, 2021 · 1 comment
Labels
bug Something isn't working

Comments

@maxrjones
Copy link
Member

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

@maxrjones maxrjones added the documentation Improve documentation label Aug 11, 2021
@PaulWessel
Copy link
Member

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....

@joa-quim joa-quim added bug Something isn't working and removed documentation Improve documentation labels Mar 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants