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 #31823 is a reply to message #31822] Thu, 22 August 2002 15:07 Go to previous messageGo to previous message
Paul Van Delst[1] is currently offline  Paul Van Delst[1]
Messages: 1157
Registered: April 2002
Senior Member
David Fanning wrote:
>
> 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.

uh - yeah, umm, look closer. I wasn't replying to your post. I was replying to the OP's
reply to your pseudo-code using reply. His "with-a-twist" solution was overwriting the
same maxindex variable but for a different set of data.

> That is meant to be confusing.

I must have snipped the "Kolbjorn Bekkelund wrote:" part from my reply.

paulv

--
Paul van Delst
CIMSS @ NOAA/NCEP/EMC Beer is good.
Ph: (301)763-8000 x7274 My wife.
Fax:(301)763-8545
[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: Wed Dec 03 06:40:46 PST 2025

Total time taken to generate the page: 1.36178 seconds