Contour Levels
conLev_1.ncl:
Demonstrates how to set the contour levels manually.
cnLevelSelectionMode is set to ManualLevels (default is AutomaticLevels), which allows the user to set the minimum contour level (by using cnMinLevelValF), the maximum contour level (via cnMaxLevelValF), and the contour interval (with cnLevelSpacingF).
conLev_2.ncl:
Sets the contours based solely on a user-defined number of contour levels.
When cnLevelSelectionMode is set to EqualSpacedLevels (default is AutomaticLevels), cnMaxLevelCount can be used to set the number of contour levels. If the data array x is to be plotted, the contour interval is set by the following equation:
(max(x)-min(x))/cnMaxLevelCount = CI
The minimum contour level is then set to min(x)+CI, and the maximum contour level is set to max(x)-CI.
conLev_3.ncl:
Demonstrates how to set the contour levels explicitly.
cnLevelSelectionMode is set to ExplicitLevels (default is AutomaticLevels), which allows the user to set the contour levels by using cnLevels.
cnFillColors is also set here to explicitly set the colors to be used for the color shading.