Re: errorbars in cgPlot [message #76553] |
Wed, 15 June 2011 14:35 |
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  |
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  |
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.
|
|
|