oplot and oploterror, later fails to work [message #72059] |
Mon, 02 August 2010 15:49 |
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
|
|
|