The axes - and the location of the y-origin - gets adjusted to make room for a line legend. To avoid this, use PLOT/NOYADJUST when plotting. (This is nothing new, it goes back to Ferret version 5.)
-Ansley
On 5/3/2021 1:17 AM, Ryo Furue wrote:
Hi Ferreters,
I've found that the legend of line graphs from PLOT command shifts the bottom axis upwards even within a viewport whose axes are supposed to be fixed. I show a self-contained example below.
I guess that the calculation of the positions of the legends forgets to take "axes" into account?
Regards,Ryo------------define view/axes/xlimits=0.10:0.30/ylimits=0.2:0.9 left
define view/axes/xlimits=0.35:0.55/ylimits=0.2:0.9 mid
set data levitus_climatology
set view left
plot/x=180/nolabel temp[y=0],temp[y=2],temp[y=4],temp[y=6]
set view mid
plot/x=180 temp[y=0],temp[y=2],temp[y=4],temp[y=6]
! ^^^^ The bottom axis is higher. ^^^^