NCL Home> Application examples> Plot techniques || Data files for examples

Slices

slice_1.ncl: A slice of an ocean model.

sfXArray= lon_t, and
sfXArray= z_t/100 set the vectors to be used for the x and y axis respectively.

Most vertical axis are irregular. We can display them as a linear axis by setting gsnYAxisIrregular2Linear = True

Frequently, we will need to reverse the y axis. This is done by setting trYReverse = True
slice_2.ncl: A slice of data that contains no geophysical coordinates

Because this data has no lat/lon coordinate arrays, we use gsn_contour which does not look for geophysical coordinates.