use coads_climatology
fill sst[l=1]
frame/file=sst.jpeg
and it is saving just a portion of the plot.
I confirm the behavior. I thought the problem was limited to PDF, but PNG and JPEG have the same problem now.
The only solution I know is to produce the image non-interactively:
pyferret -nodisplay -script yourscript.jnl
Moreover, "jpg" or "jpeg" doesn't work for this case. You'd need to use PNG instead.
**ERROR: invalid command: cairoCFerBind_saveWindow: unrecognized format 'JPG'
frame/file=sst.jpg
Command file, command group, or REPEAT execution aborted
In any case, PNG is better than JPEG for scientific plots, unless you need to reduce the file size of the image at the cost of quality.
Regards,
Ryo