What is the difference between fill option and counter option for class 7
Answers
UCAR
NCAR
CISL
Download
Citing NCL
Contributors
★ UPDATED LETTER TO NCL USERS
NCL
Examples
Functions
Resources
Popular Links
What's New
Support
External
Search
NCL Home> Application examples> Plot techniques || Data files for some examples
Example pages containing: tips | resources | functions/procedures
NCL Graphics: Contour Effects
There are numerous examples of contour effects throughout the Applications page. This page is dedicated to specialized ways of controlling the look of contours, via shading, transparency (new in V6.1.0), color fill, line thicknesses, and dashed patterns.
Three new resources were added in V6.1.0, allowing you to specify a color palette for filled contours (and whether to span that color palette), and controlling the opacity of color colors.
cnFillPalette - allows you to specify a color palette for your filled contours. This can be a color map name, or an array of color indexed values, RGB values, or RGBA values.
cnSpanFillPalette - a True/False resource allowing you to indicate whether the current fill palette should be fully spanned.
cnFillOpacityF - a resource that allows you to set the opacity of all colors in a contour plot.
In addition, in V6.1.0, the cnFillColors resource can now be given an n x 4 array of RGBA values, allowing to specify the opacity of individual colors.
Three other popular resources and a function include:
gsnContourZeroLineThicknessF - a resource for setting the thickness of the zero contour
gsnContourNegLineDashPattern - a resource for setting the dash pattern for negative contours
gsnContourPosLineDashPattern - a resource for setting the dash pattern for positive contours
gsn_contour_shade - a function for controlling the shading and filling of contours
This page mentions some older methods for doing shading and color fill, all of which have been superceded by gsn_contour_shade:
ColorShadeLeGeContour
ColorNegDashZeroPosContour
ShadeLtContour
ShadeGtContour
ShadeLtGtContour
ShadeGeLeContour
please mark me brain mark list