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

Home » Public Forums » archive » Ploting uncertainties
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
Ploting uncertainties [message #24379] Mon, 02 April 2001 12:13
Martin Skou Andersen is currently offline  Martin Skou Andersen
Messages: 5
Registered: December 2000
Junior Member
Hi there...
Is there a way to plot uncertainties in a plot.
Say you got some data:
x = {1,2,3,4}
y = {2.25,3.75,4.25,5.75}
Delta y = {0.02,0.04,0.01,0.05}
then I can plot my data as points
IDL> plot, x, y, psym=1
But is there away to get uncertainties on my data?

Thanks in advance
Martin Skou
Re: Plotting uncertainties [message #24522 is a reply to message #24379] Mon, 02 April 2001 12:12 Go to previous message
Wayne Landsman is currently offline  Wayne Landsman
Messages: 117
Registered: January 1997
Senior Member
Martin Skou Andersen wrote:


> IDL> plot, x, y, psym=1
> But is there away to get uncertainties on my data?

Beisdes the standard IDL procedures already mentioned (e.g. PLOTERR,
ERRPLOT) you might want to look at PLOTERROR and OPLOTERROR in
http://idlastro.gsfc.nasa.gov/ftp/pro/plot/. These are built on the
standard PLOTERR and OPLOTERR routines but have additional options, such
as both X and Y errors, _EXTRA facility, NAN value recogntion, plotting
only every nth error bar, and the NSUM keyword.

--Wayne
Landsman
landsman@mpb.gsfc.nasa.gov
Re: Ploting uncertainties [message #24524 is a reply to message #24379] Mon, 02 April 2001 11:38 Go to previous message
Bernard Puc is currently offline  Bernard Puc
Messages: 65
Registered: January 1998
Member
Martin Skou Andersen wrote:
>
> Hi there...
> Is there a way to plot uncertainties in a plot.
> Say you got some data:
> x = {1,2,3,4}
> y = {2.25,3.75,4.25,5.75}
> Delta y = {0.02,0.04,0.01,0.05}
> then I can plot my data as points
> IDL> plot, x, y, psym=1
> But is there away to get uncertainties on my data?
>
> Thanks in advance
> Martin Skou

Try PLOTERR

--
Bernard Puc AETC, INC.
bpuc@va.aetc.com 1225 Jefferson Davis Highway #800
(703) 413-0500 Arlington, VA 22202
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Execution halted
Next Topic: REDUCE

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

Current Time: Wed Oct 08 08:58:50 PDT 2025

Total time taken to generate the page: 0.00445 seconds