Suppress axes in IDL plots

Suppress axes in IDL plots


Some control of the axes in an IDL plot can be done through the [xyz]style keyword.


ValueDescription
1Force exact axis range (from data)
2Extend axis range
4Suppress entire axis. This will eliminate plotting the axes at all. Useful if you want to use the axis procedure later to fill in the axes.
8Draw axis only on one side.
16

Inhibit setting the Y axis minimum value to 0 (only works on y axis)


These keywords are bitwise so they can be added together to get a combination of effects.

NOTE: if you want to just suppress the text and tick marks in one of the axes:

plot, x, y, yticks = 1, ytickname = [' ', ' ']

This will set the plot to have only one major tick interval at the top and bottom of the axis and name them with a string with an empty space.


(copyright on "follow the sheep")

Hello, stranger
note List Tags Media Guest Admin
powered by TISTORY designed by KHISM modified by kaysoh RSS T Y T
openclose