[ncl-talk] plot

Mary Haley haley at ucar.edu
Sun May 3 11:53:27 MDT 2015


On Thu, Apr 30, 2015 at 6:05 AM, Nitin Patil <nitinpatil85 at gmail.com> wrote:

> Dear NCL users,
>
> PFA plot and script.
>
> I need to know that how to adjust
> - In my plot to have Blue and Black outline of the 2 region instead of
> filled with black colour.
>

​Dear Nitin,​

​I think the black color is coming from the call to gsn_add_polygon, which
creates a filled polygon.  Try changing this to gsn_add_polyline, which
will draw a line instead.
​


> - My contour are not representation numbers in the plot
>

​Try setting:

res at cnLineLabelsOn    = True ; Turn on contour line labels

If the labels are not what you want, then see our examples on contour line
labels:

http://www.ncl.ucar.edu/Applications/contourLab.shtml

​


> - I need the scale vertical at right side starting from 0 number at the
> begining of scale (I dont need <0 and >30 on scale).
>

​Try this:

  res at cnLabelBarEndStyle = "ExcludeOuterBoxes"​

​
For an example, see lb_12.ncl at:

http://www.ncl.ucar.edu/Applications/labelbar.shtml#ex12
​

​--Mary
​


> Thanks in Advance!
>
> --
> Regards,
> Nitin Patil
>
>
>
> _______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20150503/0c0bace2/attachment.html 


More information about the ncl-talk mailing list