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

Home » Public Forums » archive » Error Bars Using Coyote Graphics
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
Error Bars Using Coyote Graphics [message #86893] Tue, 10 December 2013 11:27 Go to next message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Folks,

Recent questions in this news group caused me to look at cgErrPlot
again. Writing this program as a direct copy of IDL's own ErrPlot was
one of the worst decisions I've ever made. So, I've decided to retire
this program. (Actually, I've decided to use it as a chew toy for Coyote
out in the back yard. Shouldn't last too long.)

What I have done instead is just added Error Bar drawing capability to
cgPlot via some new ERR_* keywords. This way, if you have error
information (either in the X or Y dimension) when you create the plot,
you can use it then. Or, you can add the error bars to the plot later by
setting the OVERPLOT keyword, etc. You can draw high errors or low
errors or both, in either the horizontal or vertical direction. It is
almost infinitely flexible, and--more importantly--it makes sense. At
least to me. :-)

While I was at it, I also added the ability to automatically convert
longitude/latitude values to XY projected meters if you happen to be
plotting (or, more likely, overplotting) symbols and error bars on maps
that use a projected meter data space (as they ALL should!). You can
pass in a map coordinate object (cgMap) with the MAP_OBJECT keyword, as
you can with cgPlotS.

You can find updated documentation here:

http://www.idlcoyote.com/idldoc/cg/cgplot.html

And you can find the updated cgPlot code here:

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

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: Error Bars Using Coyote Graphics [message #86901 is a reply to message #86893] Wed, 11 December 2013 01:30 Go to previous message
atmospheric physics is currently offline  atmospheric physics
Messages: 121
Registered: June 2010
Senior Member
Dear David,

Thanks for the nice update of the cgPlot.pro with more keywords. This is very much useful ...

Regards



On Tuesday, December 10, 2013 8:27:12 PM UTC+1, David Fanning wrote:
> Folks,
>
>
>
> Recent questions in this news group caused me to look at cgErrPlot
>
> again. Writing this program as a direct copy of IDL's own ErrPlot was
>
> one of the worst decisions I've ever made. So, I've decided to retire
>
> this program. (Actually, I've decided to use it as a chew toy for Coyote
>
> out in the back yard. Shouldn't last too long.)
>
>
>
> What I have done instead is just added Error Bar drawing capability to
>
> cgPlot via some new ERR_* keywords. This way, if you have error
>
> information (either in the X or Y dimension) when you create the plot,
>
> you can use it then. Or, you can add the error bars to the plot later by
>
> setting the OVERPLOT keyword, etc. You can draw high errors or low
>
> errors or both, in either the horizontal or vertical direction. It is
>
> almost infinitely flexible, and--more importantly--it makes sense. At
>
> least to me. :-)
>
>
>
> While I was at it, I also added the ability to automatically convert
>
> longitude/latitude values to XY projected meters if you happen to be
>
> plotting (or, more likely, overplotting) symbols and error bars on maps
>
> that use a projected meter data space (as they ALL should!). You can
>
> pass in a map coordinate object (cgMap) with the MAP_OBJECT keyword, as
>
> you can with cgPlotS.
>
>
>
> You can find updated documentation here:
>
>
>
> http://www.idlcoyote.com/idldoc/cg/cgplot.html
>
>
>
> And you can find the updated cgPlot code here:
>
>
>
> http://www.idlcoyote.com/programs/cgplot.pro
>
>
>
> 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: cdf2idl, but I need code to WRITE the file
Next Topic: plotting x-y error bars in IDL

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

Current Time: Wed Oct 08 09:11:45 PDT 2025

Total time taken to generate the page: 0.00490 seconds