I make a profile like this from a data (@ship_15.txt). To get its exact “region” I use R=$(gmt info tmp_track -Ie). However I want to have an offset in the Y axis only so the line is over the frame. For this case I can get a practical solution with gmt info tmp_track -I0.001/100.
I would like to know if it is possible to get a region with the exact min/max in the X axis and offset in the Y axis.
In the profile the depths valuers ranges from -1359 to -75. How can I do to extend those values a 5%, for example?
In this way, in the profile I will have a white space of 2.5% (above and below) between the extreme values and the frame.
I see that I can use gmt info -I0/100 but this works fine for depths. If I then change to Free Air Anomalies (for example) then I will have to change maybe to -I0/20. Si, Is there a way to have a fix gap in the Y axis?
-Ra[uto] or -Re[xact]. Under modern mode, and for plotting modules only, you can automatically determine the region from the data used. You can either get the exact area using -Re [Default if no -R is given] or a slightly larger area sensibly rounded outwards to the next multiple of increments that depend on the data range using -Ra.
But we do not have an approximate selection for gmt info. Perhaps combinations of -Ie, -Ia, -Ie/a -Ia/e could help. However, there is no user-selectable feature in the rounding (e.g., 5%) here, all auto.
Should be doable under modern mode. Since -R is optional it would have to be -Re or -Ra. No point adding fluff since the BC pads will be filled with data anyway. If