[Thread Prev][Thread Next][Index]

Re: [ferret_users]

I'm not sure I understand the question.  Do you want to make a label?  See
yes? use coads_climatology
yes? fill/l=7/y=40s:60n/x=100e:60w sst
yes? label/user,120,-25,-1,0,0.14,Australia

Do you want to define a region based on values of a variable, and show it graphically? This is described under the topic of "masking".  Try this example:
yes? use coads_climatology
yes? fill/l=7/y=40s:60n/x=100e:60w sst

! Define a new variable which is sst if the value of wind-speed is higher than 6

yes? let sst_hi_wind = if wspd GT 6 then sst

! Overlay this using a related color palette.
! fill/lev with no arguments on lev, will repeat the levels
! used in the previous plot command

yes? fill/over/pal=light_rainbow/lev/l=7/nolab sst_hi_wind

yes? label/nouser -1,-0.7,-1,0,0.1,Shading: SST where Wind Speed greater than 6
yes? go fland

There are more examples in the documentation under PATTERN.  The PATTERN graphics style is not available for all plot types - that section of the documentation includes examples which do similar things using other plotting commands. 

There are also examples of defining masks in this FAQ: Averaging/integrating over irregular regions in Ferret.

On 3/24/2015 12:24 AM, Satyam Srivastava wrote:

Thanks for your kind help, Is there is any way out to define a region in between the shaded plot like if I am plotting the Indonesian flow and i want to specify something on the shaded region is there is any way to do so,


On Thu, Mar 19, 2015 at 12:39 PM, Satyam Srivastava <satyam.srivastava.au@xxxxxxxxx> wrote:
Hi Ansley and Chinnu,

Thanks so much for your help and support, i will try this and hope that this will remove my problem..


Satyam Srivastava.

On Wed, Mar 18, 2015 at 10:25 PM, Ansley Manke <ansley.b.manke@xxxxxxxx> wrote:
There are two methods here.  One is


which removes all the labels except the axis labels. That's sometimes ok, but usually you want to be more selective in which labels are removed.  Automatic labels that document the variable, region and dataset are highly useful, but you might want to customize what's on the plot.

To get rid of the little lines in the upper right, called the "ferret logo", you can issue this command, which takes effect for the rest of the Ferret session, or until you undo it:


The topic, "removing movable labels" http://ferret.pmel.noaa.gov/Ferret/documentation/users-guide/customizing-plots/LABELS#_VPID_236 discusses the whole topic.  So for instance,

use monthly_navy_winds
cancel mode logo
shade/t=1-jan-1990/x=300:350/y=-20:20 uwnd

yes? sh sym *lab*
LAB1 = "TIME : 17-DEC-1989 09:30"
LABNUM_T = "1"
LAB2 = "DATA SET: monthly_navy_winds"
LAB3 = ""

So, you can run "go unlabel" and get rid of any of the labels LAB1, LAB2, etc.  The symbols LABNUM* are listed here,

http://ferret.pmel.noaa.gov/Ferret/documentation/users-guide/customizing-plots/SPECIAL-SYMBOLS#Chapter6 Ferret special symbols
shade/t=1-jan-1990/x=300:350/y=-20:20/set uwnd
   go unlabel ($labnum_t)
   go unlabel ($labnum_dset)
 ppl shade

On 3/17/2015 2:23 AM, Satyam Srivastava wrote:
Hi Folks,

I have a plot now i would like to modify the HEADINGS on the plot for example if i am plotting the data as:
    4> ./pottmp.2008.nc  (default)
 name     title                             I         J         K         L         M         N
 DATE                                      ...       ...       ...       1:12      ...       ...
 TIMEPLOT                                  ...       ...       ...       1:12      ...       ...
 POTTMP   Potential temperature            1:360     1:418     1:40      1:12      ...       ...
yes? shade/I=15:150/J=30:250/K=6/L=6 POTTMP

 now the shaded plot has some headings as : At top : Depth, time and the version of the ferret i am using, so is there is any ways by which i can edit these heading which are there on the plot.

And for the over lay plot please tell me that how i can define the plots for three different data and can give different colours to them.

 Satyam srivastava.

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

Privacy Policy | Disclaimer | Accessibility Statement