|
Re: oplot problem - solved [message #17724 is a reply to message #17720] |
Mon, 08 November 1999 00:00  |
Kristine Hensel
Messages: 26 Registered: June 1999
|
Junior Member |
|
|
Kristine Hensel wrote:
>
> William Thompson wrote:
>>
>> Hmmm, should the oplot command be
>>
>> oplot, time_vector, flat_bz, color=35
>> ^^^^^^^^^^^
>
> The x argument is optional for oplot - in fact, I'd kind of convinced
> myself that it wasn't allowed.
>
> Anyway, I tried putting in the x argument, and the oplots were still
> invisible. >:(
>
I actually had 2 simultaneous problems, and it took me a while before I
managed to solve them simultaneously:
- my oplot'd vectors were off the y scale - I forgot that I'd created
them as the plotted vector *minus* a best-fit straight line
- if I didn't use the x argument in oplot, y was plotted as a function
of point number (RTFM ...) and was way off the x scale.
Thanks for the helpful suggestions. Now I can get back to guessing how
FFTs and wavelets work. Guess, plot, guess, plot - isn't IDL wonderful?
Kristine
|
|
|