Using plot_io (with correct address) [message #9697] |
Mon, 11 August 1997 00:00  |
john Slavich
Messages: 5 Registered: March 1997
|
Junior Member |
|
|
Hi there,
I'm trying to do a log. plot of a series of one dimensional
array
(e.g. plot_io, data(i,0:500)). Strangely, most of the plots have a
y-scale which goes from 0 to 1 (and this is a log plot!). Ooccasionally
it will plot the data on a true log plot, like one set out of 12. I've
tried to check the arrays, and although some numbers are very small
(e.g. E-5) there is no 0 value.
I'm using version 3.61. Is it a bug with the soft. or is it my
fault?
being still a novice, the money is on me! Can anyone help?
Thanks for your time
|
|
|
Re: Using plot_io (with correct address) [message #9753 is a reply to message #9697] |
Wed, 13 August 1997 00:00  |
davidf
Messages: 2866 Registered: September 1996
|
Senior Member |
|
|
John Slavich writes:
> I'm trying to do a log. plot of a series of one dimensional
> array
> (e.g. plot_io, data(i,0:500)). Strangely, most of the plots have a
> y-scale which goes from 0 to 1 (and this is a log plot!). Ooccasionally
> it will plot the data on a true log plot, like one set out of 12. I've
> tried to check the arrays, and although some numbers are very small
> (e.g. E-5) there is no 0 value.
> I'm using version 3.61. Is it a bug with the soft. or is it my
> fault?
> being still a novice, the money is on me! Can anyone help?
I think the data values in this range are just all very small.
Your plot is autoscaling. Hence, the data range is going from 0 to 1.
Try this:
Plot_io, data(I, 0:500), YRange=[1,100]
I'm guessing your data is all smooched down at the bottom
of the plot.
Or, try this:
Plot_io, data(I, 0:500) * 10E4
That should help.
Cheers,
David
--
David Fanning, Ph.D.
Fanning Software Consulting
Customizable IDL Programming Courses
Phone: 970-221-0438 E-Mail: davidf@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com
|
|
|