Re: Scaling

From: Mary Haley <haley_at_nyahnyahspammersnyahnyah>
Date: Fri, 24 Apr 2009 11:26:16 -0600 (MDT)

Yuval,

I think you want these resources:

resources.cnLevelSelectionMode = "ManualLevels"
resources.cnMinLevelValF = 0.0
resources.cnMaxLevelValF = 1.0
resources.cnLevelSpacingF = 0.2 # or some other spacing.

This will give you equally-spaced contour levels of 0.0, 0.2, 0.4, ..., 1.0.

If you don't want equally-spaced levels, then use:

res.cnLevelSelectionMode = "ExplicitLevels"
res.cnLevels = [ 0.0, 0.2, 0.5, 0.6, 0.75, 0.9, 1.0]

--Mary

On Thu, 23 Apr 2009, Yuval Itan wrote:

>
> Hello,
>
> I have a few datasets for which I would like to make contour plots. The minimum value for all sets is 0 and the maximums are ranging between 0.3 and 0.95. I would like all the maps' colours to be scaled in the same way - colours representing values ranging between 0 and 1. I was wondering if you could suggest any way of doing that.
>
> Many thanks for any idea!
>
> _________________________________________________________________
> News, entertainment and everything you care about at Live.com. Get it now!
> http://www.live.com/getstarted.aspx
_______________________________________________
pyngl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/pyngl-talk
Received on Fri Apr 24 2009 - 11:26:16 MDT

This archive was generated by hypermail 2.2.0 : Fri Apr 24 2009 - 15:35:01 MDT