When I use the automatic flag option, how could I know the real value of, for example, the width frame?
gmt begin map png
gmt basemap -Baf -R0/1/0/1 -JX10/5c
frame=$(gmt get MAP_FRAME_WIDTH)
echo $frame
gmt math -Q $frame 2 ADD =
gmt end
In this case, the value of $frame is auto. I would like to know the real value to be able to make calculations for the drawing or as input of -Y
.