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

Home » Public Forums » archive » How to use ploterror procedure in idl with no xerror 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: How to use ploterror procedure in idl with no xerror bars? [message #94747 is a reply to message #94745] Fri, 22 September 2017 02:57 Go to previous messageGo to previous message
Markus Schmassmann is currently offline  Markus Schmassmann
Messages: 129
Registered: April 2016
Senior Member
On 09/21/2017 07:47 PM, Meegle_Jade wrote:
> I would like to use the ploterror procedure in idl for my plots. I
> don't have any x error bars. I used the following command
>
> ploterror, x , y, yerr,type=3,psym=3
>
> But this is giving me horizontal error bars. I tried giving it as
>
> ploterror, x , y, xerr,yerr,type=3,psym=3
>
> with xerr=0. But this gave me absurd output. Kindly help me in this
> regard.

; TYPE = type of plot produced. The possible types are:
; TYPE = 0 : X Linear - Y Linear (default)
; TYPE = 1 : X Linear - Y Log
; TYPE = 2 : X Log - Y Linear
; TYPE = 3 : X Log - Y Log

could this be the problem?

If not, I don't understand why the first doesn't work. On the second try

xerr = make_array(size=size(x))

If you can't make it work consider using

plot, x, y, psym=3,/xlog,/ylog
errplot, x, y-yerr, y+yerr

or

cgPlot, x,y,ERR_YLow=yerr, ERR_YHigh=yerr,PSym=3,/xlog,/ylog


good Luck, Markus
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: highpass spatial filtering (lon,lat,time)
Next Topic: IDL graphics & LaTeX

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

Current Time: Wed Oct 08 09:16:25 PDT 2025

Total time taken to generate the page: 0.00244 seconds