While using 'plot' command, and leave these parameters like 'xrange', 'xticks' blank, IDL will automatically set these parameters for you. I want to know how to get these parameters.
For example:
pro test
a=[1,2,3,4,5] & plot,a
end
The xrange of the figure will be set to [0,4], how I get the value of xrange and use it in the routine later like this:
pro test
a=[1,2,3,4,5] & plot,a
print,xrange
end
Thanks a lot
|