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 #87430 is a reply to message #87406] Sun, 02 February 2014 06:54 Go to previous message
iary is currently offline  iary
Messages: 6
Registered: January 2014
Junior Member
On Friday, January 31, 2014 7:44:44 PM UTC+1, David Fanning wrote:
> 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
>

Thanks a lot!

iary
[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 19:44:13 PDT 2025

Total time taken to generate the page: 0.00391 seconds