[Thread Prev][Thread Next][Index]

Re: [ferret_users] Viewport question



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

http://www.pmel.noaa.gov/maillists/tmap/ferret_users/fu_2007/msg00393.html

Sudheer

On Thu, Aug 26, 2010 at 10:21 AM, Abhisek Chatterjee <abhi.iitkgp@xxxxxxxxxxx> wrote:
Dear Cathleen,

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.

Best regards,

Abhisek Chatterjee
POD, NIO
Dona Paula
Goa-403004

Ph.N- +91-9371679339


--- On Thu, 26/8/10, Cathleen Vestfals <vestfals@xxxxxxxxxxxxxxxxxxxx> wrote:

From: Cathleen Vestfals <vestfals@xxxxxxxxxxxxxxxxxxxx>
Subject: [ferret_users] Viewport question
To: ferret_users@xxxxxxxx
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 win/aspect=1.5

set viewport 1
let transport=normvel[x=-3.1:120,z=0:500, t="01-Jan-1995":"01-Jan-2005"@ave]
fill/nolabel/levels=(-0.12,0.2,0.01)/VLIMITS=0:500 transport


set viewport 2
let transport=normvel[x=120:220,z=0:500, t="01-Jan-1995":"01-Jan-2005"@ave]
fill/nolabel/levels=(-0.12,0.2,0.01)/VLIMITS=0:500 transport


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]
fill/levels=(-0.12,0.2,0.01)/VLIMITS=0:500 transport

frame/format=gif/file=BC1_Transport_1995_2004.gif

Thanks in advance,

Cathleen




--
with best regards

Sudheer

**********************************************************************************
Sudheer Joseph� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � �
Scientist� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � ��
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.
TEl:+91-40-23044600(R),Tel:+91-9440832534(Mobile)
Tel:+91-40-23886047(O),Fax:+91-40-23892910(O)
E-mail:sjo@xxxxxxxxxxxxxx; sudheer.joseph@xxxxxxxxx;� sjo@xxxxxxxxxxxxx.
Web- http://oppamthadathil.tripod.com
� � � � �� --------------* ---------------
"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
controversy."
� � � � � � � � � � � � 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

[Thread Prev][Thread Next][Index]

Contact Us
Dept of Commerce / NOAA / OAR / PMEL / TMAP

Privacy Policy | Disclaimer | Accessibility Statement