[Thread Prev][Thread Next][Index]

Re: [ferret_users] figure window can not save the full figure



Hi Saurabh,

On Sat, Aug 22, 2020 at 7:51 PM saurabh rathore <rohitsrb2020@xxxxxxxxx> wrote:
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


[Thread Prev][Thread Next][Index]
Contact Us
Dept of Commerce / NOAA / OAR / PMEL / Ferret

Privacy Policy | Disclaimer | Accessibility Statement