X
PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 17 Dec 2018 03:39 PM by  Brian Harker
automatically determine minor tick values?
 0 Replies
Sort:
You are not authorized to post a reply.
Author Messages

Brian Harker



New Member


Posts:
New Member


--
17 Dec 2018 03:39 PM
    Yo, I'm plotting several sets of data that can have wildly different values between sets, and need a way to automatically determine the minor y-tick values, given the major tick values obtained via (in this case) YTICK_GET=yvals. I do not explicitly set the YMINOR=yminor keyword when plotting (in this case), so IDL determines the ticks for me (because of the data variability I cannot just use a static range).

    Is there a way to automatically determine the values of the minor y-ticks if I don't explicitly set the YMINOR keyword? My gut tells me "nope"...unless I could somehow copy/modify the algorithm that IDL uses internally to determine the proper number of major/minor ticks in the first place...

    Thank you guys for any pointers!
    You are not authorized to post a reply.