hello everyone,
this is my code and my figure.
How reduce the rectangle of grid?
I want to have a small different between the rectangle…
gmt begin series_times pdf,png
gmt set GMT_THEME cookbook
gmt set FORMAT_DATE_MAP “o yy” FORMAT_TIME_PRIMARY_MAP Abbreviated
gmt set GMT_LANGUAGE IT
gmt set IO_COL_SEPARATOR=tab
gmt info C:\programs\Instance_Sicilia.csv
gmt plot C:\programs\Instance_Sicilia.csv -i3,4 -Sc0.15c -Gred -R2005-01-01T/2020-01-30T/0.0/6.5 -JX18i -Bxafg+l"Time" -Byafg+l"Magnitude" -fi0T,2d
gmt end show
I think you are seeking for the psconvert manual. Namely for the option -A
Mmm or maybe do you want to reduce the size of the figure?? Change -JX18i for a smaller number.
The rectangles (which I understand are the gridlines) are controlled by g
modifier in -B
-Bafg
Gives automatic annotations, fticks and gridlines
-Bg5
Gives only gridlines every 5 unit increments
You might (or might not) also want to shift the grids. In that case -Bg5+1.5
would shift the 5 unit increments by 1.5
thanks very much…I have need this solution!
Thanks for all speech.
I have another question…
I want to do a hystogram, the same of this esample. I construct jet my hystogram but i want to illustate with this line and point…there are a comand in GMT 6.1 with this?
I think the solution here is
- first plot the vertical line (from y = 0 to y = magnitude)
- then plot a dot at y = magntiude
All this can be done with https://docs.generic-mapping-tools.org/dev/plot.html.
1 Like