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

Home » Public Forums » archive » Re: errorbars in cgPlot
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
Re: errorbars in cgPlot [message #76553] Wed, 15 June 2011 14:35
Gray is currently offline  Gray
Messages: 253
Registered: February 2010
Senior Member
On Jun 15, 7:01 am, Sasha Singh <sashasingh....@gmail.com> wrote:
> On Jun 14, 4:30 pm, Jeremy Bailin <astroco...@gmail.com> wrote:
>
>> There are many routines, some built-in and some not, that can plot error bars. Some examples are errplot, ploterr, ploterror, and oploterror. The latter two, which are part of the IDL Astronomy Library, should play nice with cgPlot.
>
>> -Jeremy.
>
> Thanks Jeremy. I finally did ended up using oploterror. However, I was
> wishing for a more sophisticated in-built error plotting option in
> cgPlot. The problem with oploterror is that you first plot your X, Y
> data with cgPlot and then you have to replot X, Y data along with the
> errorbar. But yes, it did work. Thanks.

You should be able to just use PlotError, since it uses CG routines
built in.
Re: errorbars in cgPlot [message #76562 is a reply to message #76553] Wed, 15 June 2011 07:01 Go to previous message
Sasha Singh is currently offline  Sasha Singh
Messages: 13
Registered: November 2010
Junior Member
On Jun 14, 4:30 pm, Jeremy Bailin <astroco...@gmail.com> wrote:
> There are many routines, some built-in and some not, that can plot error bars. Some examples are errplot, ploterr, ploterror, and oploterror. The latter two, which are part of the IDL Astronomy Library, should play nice with cgPlot.
>
> -Jeremy.

Thanks Jeremy. I finally did ended up using oploterror. However, I was
wishing for a more sophisticated in-built error plotting option in
cgPlot. The problem with oploterror is that you first plot your X, Y
data with cgPlot and then you have to replot X, Y data along with the
errorbar. But yes, it did work. Thanks.
Re: errorbars in cgPlot [message #76565 is a reply to message #76562] Tue, 14 June 2011 13:30 Go to previous message
Jeremy Bailin is currently offline  Jeremy Bailin
Messages: 618
Registered: April 2008
Senior Member
There are many routines, some built-in and some not, that can plot error bars. Some examples are errplot, ploterr, ploterror, and oploterror. The latter two, which are part of the IDL Astronomy Library, should play nice with cgPlot.

-Jeremy.
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: Curvelet Transformation in IDL
Next Topic: Converting distance to degrees

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

Current Time: Wed Oct 08 13:48:30 PDT 2025

Total time taken to generate the page: 0.00558 seconds