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

Home » Public Forums » archive » Re: How to use max() to plot where in the plot max is located ?
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: How to use max() to plot where in the plot max is located ? [message #31824 is a reply to message #31823] Thu, 22 August 2002 13:57 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Paul van Delst (paul.vandelst@noaa.gov) writes:

> From your previous code, I assume you meant:
>
> max308=max(data(3,*), maxindex)
> max353=max(data(5,*), maxindex)
>
> but what if the maximum value for the different columns of data occurs at a different
> index? Shouldn't you do something like,
>
> max308=max(data(3,*), max308index)
> max353=max(data(5,*), max353index)
>
> ??
>
> If not, why bother with returning maxindex for data(3,*)?
>
> me confuzzed.

I was using *pseudo* code. That is meant to be confusing.
But I find it cuts the future questions way down, so I
can't afford to give it up. :-)

Cheers,

David
--
David W. Fanning, Ph.D.
Fanning Software Consulting, Inc.
Phone: 970-221-0438, E-mail: david@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
Read Message
Read Message
Previous Topic: Re: widget events and dlms
Next Topic: Re: switch colortable

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

Current Time: Sun Oct 12 11:05:36 PDT 2025

Total time taken to generate the page: 1.03958 seconds