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

Home » Public Forums » archive » Re: Odd axis labelling error
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: Odd axis labelling error [message #67823] Thu, 27 August 2009 07:02 Go to previous message
Jean H. is currently offline  Jean H.
Messages: 472
Registered: July 2006
Senior Member
Jimmy wrote:
> Hi,
>
> I'm trying to create a plot with a log y-axis from 10e-4 to 10e3. I'm
> using the follow:
>
> plot_io, variable1, variable2, xr = [1,8], yr =[10e-4,10e3], xstyle =
> 1, ystyle = 1
>
> (with titles and background colour stuff too).
>
> This plots the x axis fine, BUT- the y-axis is plotted from 10e-3 to
> 10e4. Anyone know why this might be, and how I can fix it?
>
> Thanks!

Hi,

could it be that you are confusing 10e3 and 10^3 ?

A simple test using the same range as you do labels as 10^-3 to 10^4,
which is the same as 10e-4 and 10e3.

In IDL, aEb = a (float) * 10^b

Jean
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Image statistics via moving window
Next Topic: How to draw IDLgrPlots over IDLgrImages?

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

Current Time: Thu Oct 09 23:05:47 PDT 2025

Total time taken to generate the page: 1.59767 seconds