|
Re: Multiple xaxis labels [message #84329 is a reply to message #58412] |
Mon, 13 May 2013 13:47  |
Matthew Argall
Messages: 286 Registered: October 2011
|
Senior Member |
|
|
On Monday, January 28, 2008 11:49:41 AM UTC-5, Brian Larsen wrote:
> IDLers,
>
> OK, so I have not found the good solution for making multiple labels
> on an axis. The example I am trying to emulate is:
> http://sprg.ssl.berkeley.edu/fast/sumplotProg/sumplotsLink/o rbit_links/2008/46118/2008_01_24/fa_k0_ees_46118_is.gif
>
> It seems that I cant figure out how to:
> - put them in the right place with xyouts
> - line them up nicely
> - make sure they are in the right place
>
> Has anyone done this with good success?
>
> I know how with separate axes like: http://www.dfanning.com/graphics_tips/wavenumber.html
> but on the same axis has got me more boggled.
>
>
> Cheers,
>
> Brian
>
> ------------------------------------------------------------ --------------
> Brian Larsen
> Boston University
> Center for Space Physics
So, after forming my question and poking around the interent, I found my answer. Thought I would post it here anyway... for posterity.
I want to do /exactly/ what Brian Larsen is asking /exactly/ the way Bill Gallery described. The problem is that the data for each level of the axis are independent. XTICKNAMES will not accept an array of ticknames for each level of the axis, and XTICKFORMAT will not know about the data for other axis levels unless I set up a common block and create a tickformat function.
Turns out, this plot was made using the TDASS software from the THEMIS mission.
http://themis.ssl.berkeley.edu/software.shtml
Following the LABEL_VAR keyword in the TPlot program...
ftp://sohoftp.nascom.nasa.gov/solarsoft/packages/tplot/gener al/tplot/help.html#TPLOT
TPlot stores data as internal TPlot variables. The ticknames from each variable are extracted from the data and appended to one another by added "!C" just as Paolo described.
I would still like to be able to use axis levels with the [XYZ]TICKNAME keyword. That would make things much much easier.
|
|
|