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

Home » Public Forums » archive » Re: ERRORBAR for CGs
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: ERRORBAR for CGs [message #83227 is a reply to message #83226] Fri, 15 February 2013 04:38 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
dave poreh writes:

> I want to generate ERROR bars in CGs. My data is like:
> x-y-error
> how could i do that with CG plots.

cgDisplayx = Findgen(21)
y = RandomU(-3L, 21) * 50
err = RandomU(seed, 21) * 5
cgPlot, x, y
cgErrPlot, x, y+err, y-err, Color='red'

Cheers,

David



--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thue. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Re: One common title for multiplot using CGPLot
Next Topic: Plot

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

Current Time: Fri Oct 10 04:09:13 PDT 2025

Total time taken to generate the page: 1.51921 seconds