[Thread Prev][Thread Next][Index]

Re: [ferret_users] problem saving image with 6 viewports



Thanks Ansley and Nana; both method works.

Ansley, here each plot need seperate colorbar so can't have a single color bar
 
Jagadish

From: Ansley Manke <ansley.b.manke@xxxxxxxx>
To: users Group Ferret <oar.pmel.ferret_users@xxxxxxxx>
Sent: Wednesday, October 26, 2011 11:40 PM
Subject: Re: [ferret_users] problem saving image with 6 viewports

Hi -
If it makes sense for the variables you are drawing, you might set a common set of color levels and use them for all of the viewports.  This gives a page where the viewports are all comparable. It also means that it makes sense to draw the colorbar only once on the page  - as discussed here, http://www.pmel.noaa.gov/maillists/tmap/ferret_users/fu_2000/msg00226.html

Of course if the variables are quite different that would not make sense.

Ansley

On 10/26/2011 10:32 AM, nana ama wrote:
Hi Jagadish,
Try
ferret -batch image.ps -script yourferretscript.jnl
on the command line.
You can convert the postscript image (image.ps) after that to .gif.
Good luck.
Nana


On 26 October 2011 16:21, jagadish karmacharya <j_karmacharya@xxxxxxxxx> wrote:
Hi,

I am using 6 view ports to plot different figures each with seperate color bar key. It work fine in x-window but when I try to save the image (frame/file=image.gif) ferret hangs on that line and doesn't return to prompt. However if I disable the color bar key of the bottom right (BR) view port it work fine. What could be causing this? I tried other options like reducing the size of the BR viewport/ removing axes option in that viewport but none worked.

Here is my viewport definitions:
set window/aspect=0.6
def view/axes/x=0.01:0.29/y=0.5:0.9 v1; def view/axes/x=0.34:0.62/y=0.5:0.9 v2; def view/axes/x=0.67:0.95/y=0.5:0.9 v3
def view/axes/x=0.01:.29/y=0.05:0.45 v4; def view/axes/x=0.34:0.62/y=0.05:0.45 v5; def view/axes/x=0.67:0.95/y=0.05:0.45 v6

Thanks in advance.
 
Jagadish




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

Privacy Policy | Disclaimer | Accessibility Statement