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 
Switch to threaded view of this topic Create a new topic Submit Reply
Taylor Diagrams in IDL [message #65294] Tue, 24 February 2009 23:34 Go to next message
M. Suklitsch is currently offline  M. Suklitsch
Messages: 12
Registered: August 2008
Junior Member
Hi there!


I'm wondering if anybody has done Taylor diagrams in IDL before (see
http://www.ncl.ucar.edu/Applications/taylor.shtml for examples how
they should look like). I've managed to plot them somehow, but some
parts are poorly hardcoded, like the isolines of the RMSE, especially
their intercept with the outermost line of standard deviation. I'm
quite sure that there *has* to be a way to do this with a more general
approach...?


Best regards,
Martin
Re: Taylor Diagrams in IDL [message #82786 is a reply to message #65294] Thu, 17 January 2013 03:47 Go to previous messageGo to next message
dplatten is currently offline  dplatten
Messages: 32
Registered: December 2007
Member
> It runs in IDL 7 and I presume (although I haven't checked) it will run
>
> in IDL 6.4, too.

It works perfectly in IDL 6.4

David
Re: Taylor Diagrams in IDL [message #82834 is a reply to message #65294] Tue, 15 January 2013 07:30 Go to previous messageGo to next message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
David Fanning writes:

> 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.

I've checked a new version in after making this and another small
change:

http://www.idlcoyote.com/programs/cgtaylordiagram.pro

It runs in IDL 7 and I presume (although I haven't checked) it will run
in IDL 6.4, too.

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.")
Re: Taylor Diagrams in IDL [message #82843 is a reply to message #65294] Tue, 15 January 2013 05:47 Go to previous messageGo to next 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.")
Re: Taylor Diagrams in IDL [message #84503 is a reply to message #65294] Tue, 21 May 2013 22:18 Go to previous messageGo to next message
JP is currently offline  JP
Messages: 55
Registered: April 2008
Member
you are awesome!!

thanks!


On Wednesday, 22 May 2013 13:12:28 UTC+10, David Fanning wrote:
> JP writes:
>
>
>
>> Great stuff, I am using it now.
>
>> It would be great if it had a /overplot option. I want to show results from several model runs and as all the labels there create a bit of a mess, i want to use several colors and symbols.
>
>> Any chance to include such a feature in the near future?
>
>
>
> Here you go:
>
>
>
> http://www.idlcoyote.com/programs/cgtaylordiagram.pro
>
>
>
> The main-level program at the end of the file shows how to use the
>
> OVERPLOT keyword. :-)
>
>
>
> The OUTPUT keyword will not work, of course, if you are overplotting.
>
> Display the Taylor Diagram and the overplot in a cgWindow (as in the
>
> example), and use the Save As buttons or cgControl to get PostScript and
>
> raster output.
>
>
>
> 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.")
Re: Taylor Diagrams in IDL [message #84504 is a reply to message #65294] Tue, 21 May 2013 20:12 Go to previous messageGo to next message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
JP writes:

> Great stuff, I am using it now.
> It would be great if it had a /overplot option. I want to show results from several model runs and as all the labels there create a bit of a mess, i want to use several colors and symbols.
> Any chance to include such a feature in the near future?

Here you go:

http://www.idlcoyote.com/programs/cgtaylordiagram.pro

The main-level program at the end of the file shows how to use the
OVERPLOT keyword. :-)

The OUTPUT keyword will not work, of course, if you are overplotting.
Display the Taylor Diagram and the overplot in a cgWindow (as in the
example), and use the Save As buttons or cgControl to get PostScript and
raster output.

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.")
Re: Taylor Diagrams in IDL [message #86108 is a reply to message #84503] Fri, 04 October 2013 09:43 Go to previous messageGo to next message
AR is currently offline  AR
Messages: 1
Registered: October 2013
Junior Member
Sorry to dredge up an old thread. I'm using this great routine now, but wondered if a negative correlation option is in the works? Unfortunately, some climate models perform very poorly for certain fields. Thanks!


On Wednesday, May 22, 2013 12:18:34 AM UTC-5, JP wrote:
> you are awesome!!
>
>
>
> thanks!
>
>
>
>
>
> On Wednesday, 22 May 2013 13:12:28 UTC+10, David Fanning wrote:
>
>> JP writes:
>
>>
>
>>
>
>>
>
>>> Great stuff, I am using it now.
>
>>
>
>>> It would be great if it had a /overplot option. I want to show results from several model runs and as all the labels there create a bit of a mess, i want to use several colors and symbols.
>
>>
>
>>> Any chance to include such a feature in the near future?
>
>>
>
>>
>
>>
>
>> Here you go:
>
>>
>
>>
>
>>
>
>> http://www.idlcoyote.com/programs/cgtaylordiagram.pro
>
>>
>
>>
>
>>
>
>> The main-level program at the end of the file shows how to use the
>
>>
>
>> OVERPLOT keyword. :-)
>
>>
>
>>
>
>>
>
>> The OUTPUT keyword will not work, of course, if you are overplotting.
>
>>
>
>> Display the Taylor Diagram and the overplot in a cgWindow (as in the
>
>>
>
>> example), and use the Save As buttons or cgControl to get PostScript and
>
>>
>
>> raster output.
>
>>
>
>>
>
>>
>
>> 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.")
Re: Taylor Diagrams in IDL [message #86109 is a reply to message #86108] Fri, 04 October 2013 10:15 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
AR writes:

> Sorry to dredge up an old thread. I'm using this great routine now, but wondered if a negative correlation option is in the works?

Unfortunately, no, not without a financial commitment. It is either work
for free and be famous or find a job. Guess which my wife is urging me
to do. ;-)

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.")
  Switch to threaded view of this topic Create a new topic Submit Reply
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 11:30:26 PDT 2025

Total time taken to generate the page: 0.00682 seconds