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

Home » Public Forums » archive » cgplotting points with error bars
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: cgplotting points with error bars [message #87406 is a reply to message #87405] Fri, 31 January 2014 10:44 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
iary writes:

> there is something I didn't get in the new version of cgplot, maybe someone can help me.
> After cgerrorplot being replaced by the new "err_" options in cgplot, I suppose to draw error bars with a command like the following:
>
> cgplot, 0.5, 0.5, psym=9, err_yhigh=1., err_ylow=1., xrange=[0.,1.], yrange=[0.,1.]
>
> this is just a naive example, but really in my work I find often error bars that go outside the axis range.
>
> I tried to use noclip=0 to prevent error lines plotted outside the box, but without success.
>
> Is there a solution, or I just have to fix it by hand (i.e., modifying err_ylow or err_yhigh values when they are too large)?

You can find an updated version of cgPlot here, with an ERR_CLIP
keyword. Set the keyword to 1 to clip the error bars to the clipping
boundary of the plot.

http://www.idlcoyote.com/programs/cgplot.pro

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: Overlaying multiple plots on top of map
Next Topic: problem in finding average for every 100 points in a data set.

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

Current Time: Wed Oct 08 17:39:53 PDT 2025

Total time taken to generate the page: 0.00382 seconds