Ploting uncertainties [message #24379] |
Mon, 02 April 2001 12:13 |
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  |
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  |
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
|
|
|