[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Ploting uncertainties
- Subject: Re: Ploting uncertainties
- From: davidf(at)dfanning.com (David Fanning)
- Date: Mon, 2 Apr 2001 12:27:58 -0600
- Newsgroups: comp.lang.idl-pvwave
- Organization: Fanning Software Consulting
- References: <3AC8CF3F.34D8A575@fys.ku.dk>
- Xref: news.doit.wisc.edu comp.lang.idl-pvwave:24290
Martin Skou Andersen (skou@fys.ku.dk) writes:
> 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?
What you need is some kind of error bar plotting.
Try PLOTERR, ERRPLOT, OPLOTERR, etc. Sometimes it's
just easier to roll your own. :-)
Cheers,
David
--
David Fanning, Ph.D.
Fanning Software Consulting
Phone: 970-221-0438 E-Mail: davidf@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155