Yes,
I never use oploterr etc. because they are not flexible enough for me,
but you are right that they do works well for simple plots.
Ciao,
Paolo
Allan Whiteford wrote:
> pgrigis@gmail.com wrote:
>> On the other hand, if you like using direct graphics,
>> there's nothing like doing the job yourself...
>>
>> x=[1,2,3,5,6,7]
>> y=[2,3,5,4,1,2]
>> yerr=[0.4,0.8,1.2,1.0,0.3,0.4]
>>
>> plot,x,y,psym=6,yrange=[0,8]
>> FOR i=0,n_elements(x)-1 DO oplot,x[i]*[1,1],y[i]+yerr[i]*[-1,1]
>>
>
> IDL has a built-in routine to do this:
>
> x=[1,2,3,5,6,7]
> y=[2,3,5,4,1,2]
> yerr=[0.4,0.8,1.2,1.0,0.3,0.4]
>
> ploterr,x,y,yerr
>
> It will never look as nice as doing it yourself but slightly easier to
> type if you just want a quick look.
>
> Thanks,
>
> Allan
>
>> Ciao,
>> Paolo
>>
>> julia.waltersp...@gmail.com wrote:
>>
>>>> If you search "error bar plots" in IDL 6.4 it gives you a nice example
>>>> using
>>>> iPlot. �Just plug your stddev(dataset) where it has "err".
>>>
>>> sweet, I saw the error bar plot but was convinced there was something
>>> written just for stddev.
>>> thanks a lot
|