Re: contour color fill

From: Dennis Shea <shea_at_nyahnyahspammersnyahnyah>
Date: Fri, 19 May 2006 07:07:34 -0600 (MDT)

> I was wondering if there is a way to have a logarithmic colour contour axis. I
> want colour contours to go from say 0 to 30 but have a logarithmic spacing.
>

Yes ... You can set the contour levels explicitly.

http://www.ncl.ucar.edu/Applications/index.shtml
See "Plot Techniques" => "Contours ..."

A specific example of explicitly seetting contour levels:
http://www.ncl.ucar.edu/Applications/Scripts/conLev_3.ncl

[snip]
   res@cnLevelSelectionMode = "ExplicitLevels" ; set explicit contour levels
   res@cnLevels = log10((/ 1, 3, 5, 7.5, 10, 15, 20, 25, 30/)) ; set levels
[snip]

Cheers
D
_______________________________________________
ncl-talk mailing list
ncl-talk_at_ucar.edu
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Fri May 19 2006 - 07:07:34 MDT

This archive was generated by hypermail 2.2.0 : Fri May 19 2006 - 10:04:53 MDT