[Thread Prev][Thread Next][Index]

Re: [ferret_users] Frame/file= and Framing of the output image



Hi all,

First another workaround that often works well, is to draw a SHADE plot and then overlay with a FILL of the same variable and identical levels. That applies to pyferret and ferret graphics.

Pyferret does have controls for working with antialiasing. See this page,
../../documentation/pyferret/graphics.html

Ansley

On Fri, Jul 8, 2022, 6:43 AM Ryo Furue <furue@xxxxxxxxxx> wrote:
DearSerena and Andrew,

I should "Rasterize" theresulting PDF as suggested by Ryo. But it seems a lot of work around toget my graphic outputs).


Here is a self-contained demonstration:

set window/outline=0
set data coads_climatology
fill/L=1 SST
go fland
SPAWN rm tmp.pdf
frame/file=tmp.pdf
SPAWN convert -density 600 tmp.pdf tmp1.png
SPAWN convert +antialias -density 600 tmp.pdf tmp2.png

We first generate a PDF file (tmp.pdf) and convert it to PNG, first with antialiasing (tmp1.png) and then without(tmp2.png).

You need the "convert" command from the "Imagemagick" package.

You may

[Thread Prev][Thread Next][Index]