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

Home » Public Forums » archive » Taylor Diagrams in IDL
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: Taylor Diagrams in IDL [message #82843 is a reply to message #65294] Tue, 15 January 2013 05:47 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
seanelvidge@gmail.com writes:

> Thanks very much for the this programme. I am having some trouble
getting it to run. I've narrowed down the problem to line 448:
>
> cgText, stddev_max, y[-1], ' 1.0', CHARSIZE=cgDefCharsize()*0.85, CLIP=0, COLOR=c_correlation
>
> Indexing y with -1 gives an error message, which it should? Or am I missing something? (y is a 1000 element array).

Ah, that is one of those nifty new IDL 8 language enhancements, which
allows you to index arrays from the far end of the array. You can change
y[-1] to y[N_Elements(y)-1]. I thought I had found all of those. I'll
update the code now. Thanks for the heads-up.

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thue. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: How to keep two objects synchronized?
Next Topic: plotting different sized circles

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

Current Time: Wed Oct 08 15:44:22 PDT 2025

Total time taken to generate the page: 0.00493 seconds