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

Home » Public Forums » archive » Re: Need help with a plot
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: Need help with a plot [message #80454 is a reply to message #80453] Sat, 16 June 2012 07:02 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Julie Maria Lykke writes:

> So initially my problem was that when I am making a eps. figure the
> ytitle is "cut out of the image", because there is no room for it, as
> the numbers on the y-axis takes up too much space. I have tried to
> vary different parameter, and making the image smaller - but that
> doesn't help. My image shows something which is in the range of
>
> yrange=[-0.5e-025,6e-025]
>
> I worked around it by multiplying with 1e25, and the ytitle now fits.
> But then I need to add the '10^-25' on the actual ytitle, which just
> looks silly. I was wondering if there is a way to make it look better,
> so that the -25 is lifted (like you would see in Matlab when writing
> 10^{-25})?
>
> So it works, but looks unprofessional. Any advice on either problem?

Use the POSITION keyword to give your plot more room on the
left-hand side for the Y title:

plot, ..., position=[0.2, 0.15, 0.925, 0.925]

Use format codes to position the "-25" as a subscript:

plot, ..., ytitle='Autocorrelation function*10!E-25!N [arb unit]'

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Previous Topic: Need help with a plot
Next Topic: Re: Linking two or more IDL programs

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

Current Time: Sat Oct 11 22:19:45 PDT 2025

Total time taken to generate the page: 1.36248 seconds