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

Home » Public Forums » archive » IDL: plots in semi- or log-log
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: IDL: plots in semi- or log-log [message #8412 is a reply to message #8362] Fri, 07 March 1997 00:00 Go to previous messageGo to previous message
tonya is currently offline  tonya
Messages: 2
Registered: March 1997
Junior Member
In article <331AC300.41C6@obs-nice.fr>,
Frederic Paletou <paletou@obs-nice.fr> wrote:
> Hi there,
>
> I'm wondering if there's a simple way to avoid getting
> a 10^0 tickmark when using a log-axis with PLOT.
>
> Cheers,
> --
> Frederic PALETOU tel: (+33) 4 92 00 30 50
> Observatoire de la Cote d'Azur fax: (+33) 4 92 00 31 21
> Departement Cassini paletou@obs-nice.fr
> B.P. 4229 ; F-06304 Nice Cedex 4 http://www.obs-nice.fr/paletou/

Hi Frederic,
There's a real simple way IF 10^0 is your FIRST tickmark:

plot_oi,x,y,xtickname='1'

This replaces the first tickmark label only, IDL/PVWAVE
puts in the others.



Where 10^0 is NOT the first ticklabel, make a string array containing
the real labels:

my_ticklabels=['10!U-6!N','10!U-5!N',.....etc]
plot_oi,x,y,xtickname=my_ticklabels


(or the variant to plot with log x-axis--> plot,/xlog ...,/ylog etc.)
--
| Tony Adriaansen ~ @_ ~ )))
| Phone: +61 2 413 7211 ~ __| \ )))
| Fax: +61 2 413 7204 [__/__) )))
| email: TonyA@dap.csiro.au __/ \< /__
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Tephigram
Next Topic: IDL 5.0!

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

Current Time: Fri Oct 10 11:00:06 PDT 2025

Total time taken to generate the page: 1.20129 seconds