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

Home » Public Forums » archive » oplot and oploterror, later fails to work
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
oplot and oploterror, later fails to work [message #72059] Mon, 02 August 2010 15:49
Fermiona Fermiona is currently offline  Fermiona Fermiona
Messages: 17
Registered: June 2010
Junior Member
Hello,

I am trying to plot multiple groups of data points (along with error
bars) in one plot. When I try to use plot (for first group),
oploterror (for the error bars for first group), then oplot (for next
group), then oploterror (for error bars for next group), the data are
plotted but the vertical error bars fail to show up.. I wonder what
I'm doing wrong.

; First group
plot, A3, A0, psym=6
oploterror, A3, A0, A6, A4, psym=3,errstyle =1, /HIBAR
oploterror, A3, A0, A7, A4, psym=3,errstyle =1, /LOBAR

; Second group
oplot,A3, A1,psym =2
oploterror, A3, A1, A6, A5, psym=3,errstyle =1, /HIBAR
oploterror, A3, A1, A7, A5, psym=3,errstyle =1, /LOBAR


where An is an array of data elements

Thank you
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: 8.0 Developer Documentation
Next Topic: r-squared from linfit

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

Current Time: Wed Oct 08 17:18:38 PDT 2025

Total time taken to generate the page: 0.00506 seconds