NCL Home>
Application examples>
Plot techniques ||
Data files for some examples
axes_1.ncl: This is a simple script
that uses dummy data with a Y axis that has irregularly-spaced
values. The second frame shows how setting gsnYAxisIrregular2Linear to True will linearize
the Y axis. Note what this does to the contours.
axes_2.ncl: This script shows how to
convert an irregular axis to a log axis by setting gsnYAxisIrregular2Log to True.
axes_3.ncl: This script
shows various ways you can control all four axes of
a plot. Although this is an XY plot, these techniques apply
for contour and vector plots as well.
Example pages containing: tidbits | resources | functions/procedures
Axes
This page shows how to control the axes of any plot, like linearizing
an irregular axis, converting one to a log axis, and turning off
borders and/or tickmarks.
axes_1.ncl: This is a simple script
that uses dummy data with a Y axis that has irregularly-spaced
values. The second frame shows how setting gsnYAxisIrregular2Linear to True will linearize
the Y axis. Note what this does to the contours.
axes_2.ncl: This script shows how to
convert an irregular axis to a log axis by setting gsnYAxisIrregular2Log to True.
axes_3.ncl: This script
shows various ways you can control all four axes of
a plot. Although this is an XY plot, these techniques apply
for contour and vector plots as well.