thank you for this information, Jaison's script is really a wonderful work.
--- On Thu, 26/8/10, Sudheer Joseph <sjo.india@xxxxxxxxx> wrote:
From: Sudheer Joseph <sjo.india@xxxxxxxxx>
Subject: Re: [ferret_users] Viewport question
To: "Abhisek Chatterjee" <abhi.iitkgp@xxxxxxxxxxx>
Cc: ferret_users@xxxxxxxx, "Cathleen Vestfals" <vestfals@xxxxxxxxxxxxxxxxxxxx>
Date: Thursday, 26 August, 2010, 11:07
Hi Cathleen & Abhishek,
Also Jaison has written a wonderful script which makes this job a one line ferret command, details of which can be found at
On Thu, Aug 26, 2010 at 10:21 AM, Abhisek Chatterjee <abhi.iitkgp@xxxxxxxxxxx>
try as below:
at the beginning of your script write,
define viewport/x=0:0.40/y=0:1 q1
define viewport/x=0.30:0.70/y=0:1 q2
define viewport/x=0:6:1/y=0:1 q3
this will create one row with 3 columns. You can adjust the numbers for "x= and y=" to adjust viewports according to your needs.
Hope this will help.
--- On Thu, 26/8/10, Cathleen Vestfals <vestfals@xxxxxxxxxxxxxxxxxxxx> wrote:
From: Cathleen Vestfals <vestfals@xxxxxxxxxxxxxxxxxxxx>
Subject: [ferret_users] Viewport question
Date: Thursday, 26 August, 2010, 4:14 AM
Hello Ferret users,
I'm relatively new to Ferret and have a question about viewports...I've checked the Archives and looked through the viewports_demo.jnl, but have not found a solution to my problem. Currently, my script produces one column of viewports with three rows, but I would like to produce one row of viewports with three columns. I tried adjusting the go command:
go portraitNxN 3 1 0 10, but I received the following message:
yes? go portraitNxN 3 1 0 10
Replacing definition of axis XVIEW
**ERROR: improper grid or axis definition: NPOINTS=1 incompatible with limits given
define axis/y=0.55:0.45/npoint=1 yview
I also tried changing the portraitNxN.jnl script from the European A4
default to accommodate for North American users, but no luck there either. Here is the script I am working from:
go portraitNxN 1 3 0 10
set viewport 1
let transport=normvel[x=-3.1:120,z=0:500, t="01-Jan-1995":"01-Jan-2005"@ave]
set viewport 2
let transport=normvel[x=120:220,z=0:500, t="01-Jan-1995":"01-Jan-2005"@ave]
set viewport 3
let/title="1994-2004 Velocity Normal to Transect"/units="m/s" transport=normvel[x=220:307,z=0:500, t="01-Jan-1995":"01-Jan-2005"@ave]
Thanks in advance,
with best regards
Indian National Centre for Ocean Information Services (INCOIS)
Ocean Valley, Post Box No# 21,
IDA Jeedimetla P.O.
Hyderabad, Ranga Reddy District - 500 055
Andhra Pradesh, India.
"The ultimate measure of a man is
not where he stands in moments of
comfort and convenience, but where
he stands at times of challenge and
Martin Luther King, Jr.
"What we have done for ourselves alone dies with us.
What we have done for others and the world remains and is immortal."
- Albert Pines