[Thread Prev][Thread Next][Index]

Re: [ferret_users] More symbols In PLOT comand....



Hi Seon,
Yes, you can use the polymark script for your data. The example at the
start of the polymark script uses data that are defined as longitudes or
latitudes, but they can be any points defined by a set of x,y locations

Try it this way: Use PLOT/VS first, which makes some settings that the
polymark script needs. You might want to use /HLIMITS and /VLIMITS to
set the plot region a little larger so your points are not right on the
edges. Then the polygon command you send to the polymark script will
overwrite those symbols

define axis/x=1:1439:1 varx
define grid/x=varx varg
file/var="fr,gr"/grid=varg eige.dat
plot/vs/sym=21 x_val, y_val
go polymark poly/over/palette=blue/nokey/nolab x_val, y_val,,square

The x_val and y_val are the locations. The next argument is missing in
the example above, if you want all the polygons to be the same color.
There are a bunch of single-color palettes available and they are listed
at the end of the FAQ,
http://www.ferret.noaa.gov/Ferret/FAQ/graphics/colorpalettes.html

Ansley

Seon Tae wrote:

> Dear Ansley
>
> Thanks for your help...
> But, I tried to do the versus plot like
>
> define axis/x=1:1439:1 varx
> define grid/x=varx varg
> file/var="fr,gr"/grid=varg eige.dat
> plot/vs/sym=21 x_val, y_val
>
> Namely, I want to make a scatter plot of y_val againt x_val.
> So, I am wondering if I can apply the script to my case.
> Looks like the script polymark.jnl makes symbols draw for the value at
> a certain location (lon, lat) on the x-y domain.
>
> -Seon Tae-
>
>
> ----- Original Message ----- From: "Ansley Manke"
> <Ansley.B.Manke@noaa.gov>
> To: "Seon Tae" <stkim@met.fsu.edu>
> Cc: <oar.pmel.ferret_users@noaa.gov>
> Sent: Tuesday, May 16, 2006 6:17 PM
> Subject: Re: [ferret_users] More symbols In PLOT comand....
>
>
>> You can do this with a POLYGON command. The script polymark.jnl makes
>> this really easy. To see how it works, run the demo script:
>>
>> yes? go polymark_demo.jnl
>>
>> To see what symbols are available in the polymark script, list out the
>> start of the script:
>>
>> yes? go/help polymark.jnl
>>
>> Ansley
>>
>> Seon Tae wrote:
>>
>>> Hello all
>>>
>>> I am wondering if I can use symbols like a filled cicle or square when
>>> the scatter plot is made with 1-D data using PLOT command. I can not
>>> find it in the symbol lists available in Ferret.
>>>
>>> Thanks....
>>> -Seon Tae-
>>
>>
>>
>

[Thread Prev][Thread Next][Index]

Dept of Commerce / NOAA / OAR / PMEL / TMAP

Contact Us | Privacy Policy | Disclaimer | Accessibility Statement