how to grab !X.TICKS from previously drawn plot? [message #10968] |
Thu, 29 January 1998 00:00 |
Charlotte DeMott
Messages: 7 Registered: January 1998
|
Junior Member |
|
|
Here's my problem:
I have two curves that I want to plot on the same plot. The
curves are similar in shape, but are scaled differently
while being computed. The scaling varies for each series of
curves I want to plot, and is not easily determined. I
would like to simply plot the second curve over the first by
supressing the axis labeling on the second plot. This works
fine when IDL chooses the same number of y-tick intervals
that are present in the first plot, but it often chooses a
different number. How can I save the value of !Y.TICKS from
the first plot and apply it to the second plot?
i.e.,
plot, xvalues, data1, xrange=[10,100]
<save value of !Y.TICKS here?>
plot, xvalues, data2, xrange=[10,100], xstyle=4, /noerase,
YTICKS=(saved variable name)
thanks for any help!
charlotte
|
|
|