gmt begin series_times pdf,png
gmt set GMT_THEME cookbook
gmt set FONT_ANNOT_PRIMARY +9p
gmt set FORMAT_DATE_MAP=-o
gmt set GMT_LANGUAGE IT
gmt set IO_COL_SEPARATOR=tab
gmt info C:\programs\Instance_Sicilia_A.csv
gmt plot C:\programs\Instance_Sicilia_A.csv -i3,4 -Sc0.15c -Gred -R2005-01-01T/2020-01-30T/0.0/6.5 -JX10i -Bxafg+l"Time" -Byafg+l"Magnitude" -fi3T,2d
gmt end show
i want understand why my points no its align for time label.
“What I really want” is an example to make you understand.
The code is the reality of my plot.
I want the points to be perfectly aligned as in the plot example.
I honestly don’t understand why they don’t line up…non-aligned is meaningless.
Surely there is something wrong with the code, but I don’t understand what.
I have quoted the first line of the .csv file so you can see how the columns are combined.
-Bxa1Yf1Yg1Y+l"Time" instead of automatic -Bxafg maybe ?
Like I said last time, a controls annotations … without further instruction GMT defines the interval automatically, else it uses your steps (here 1y = annotation every year) f is for ticks (frame) and g for grid-line
Thank you very much.
Yes I know, I should play it more…only then I fail that I try several times…and I ask you to help me out of desperation. I’m new to this world… I’m getting the hang of it little by little.
Thank you for your prompt and sincere help.