Re: IDLgrPlot [message #17676 is a reply to message #17616] |
Tue, 02 November 1999 00:00  |
davidf
Messages: 2866 Registered: September 1996
|
Senior Member |
|
|
Pavel Romashkin (promashkin@cmdl.noaa.gov) writes:
> Try the following. I realized that I had no NANs in the X-vector, that's
> why I never saw the warning message you get. However, that warning
> message does not stop you from obtaining the right object, just annoys
> you. In the example below, you can generate the data with or without
> NANs in the X-vector. You get the plot regardless. And, as long as you
> have NANs in Y, you will have 0 in data[0,*].
I notice that NANs work correctly if they are part of the
dependent data, and are set to zero if part of the
independent data. While I guess you could make a case
to RSI that this is a bug, I find it really sort of
makes a little bit of sense to me, in the kind of
way that I find hard to explain. I mean, really,
shouldn't you *know* what the independent data is?
Shouldn't it *always* be defined? How else would
you plot anything? On the other hand, I find nothing
strange about the dependent data having numbers that
are occasionally unknown. It wouldn't be a real
experiment otherwise.
Sorry, but I'm approaching senility. :-(
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
|
|
|