comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: Multiple xaxis labels
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Multiple xaxis labels [message #58407 is a reply to message #58404] Mon, 28 January 2008 09:19 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Brian Larsen writes:

> 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.

Well, I would use the information in !Y.CRANGE (data
coordinates) or in !Y.WINDOW (normalized coordinates)
to help me align the extra annotation in the Y direction
(ALIGN=0.5 on your XYOUTS command, after you rotate it).

Positioning in the X direction is usually done more
empirically. (That is to say, you have to try it 2-3 times,
usually.) But if you base if off of !X.CRANGE[0] or
!X.WINDOW[0] you can usually find the right place in a matter
of seconds.

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming (www.dfanning.com)
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Europe/Africa province boundaries
Next Topic: working dir in IDL 7

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Sat Oct 11 20:19:19 PDT 2025

Total time taken to generate the page: 1.27421 seconds