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

Home » Public Forums » archive » Re: oplot problem
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: oplot problem [message #17796] Fri, 05 November 1999 00:00 Go to previous message
davidf is currently offline  davidf
Messages: 2866
Registered: September 1996
Senior Member
Kristine Hensel (kdhensel@earthlink.net) writes:

> I'm running IDL version 5.1.1 under Solaris, and I'm having problems
> with flaky behavior of oplot.
>
> For example, when I run the following ...
>
> !p.multi = [0,1,2]
>
> loadct, 39 ; Load Rainbow color table
>
> ; Plot to n/2; higher indices contain
> ; aliased frequencies:
> plot, abs(fft_padded_bz[0:n/2]), charsize=2, ticklen=-0.02 ; Plot 1
> oplot, abs(no_peak_fft[0:n/2]), color=30
>
> plot, time_vector, bz, charsize=2 ; Plot 2
> oplot, flat_bz, color=35
> oplot, inverse_fft, color=60
>
> ... the first plot has 2 signals and the second plot has only 1. I've
> run into invisible oplots before, and never figured it out.
>
> Is there an obvious reason for this problem?

I'm just going to guess that the values of flat_bz
and inverse_fft lie outside the bounds of the plot
set up in the PLOT command. That is just about the
*only* reason you won't see anything on your plot. :-)

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting
Phone: 970-221-0438 E-Mail: davidf@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Xinteranimate "Unable to create pixmap" error
Next Topic: oplot problem

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

Current Time: Sun Oct 12 04:27:22 PDT 2025

Total time taken to generate the page: 1.04311 seconds