[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
How to plot with error bars but without lines
From: |
V.O. Dah |
Subject: |
How to plot with error bars but without lines |
Date: |
Thu, 26 Nov 2009 13:43:42 +0100 |
Hello all.
I can not find a way how to plot with error bars but without the lines connecting the points.
For example:
x=linspace(0,1,10)
y=sin(x)
yerr=linspace(0,0.2,10)
# plot with points; no connecting lines, good
plot(x,y,'@')
# plot with errorbars; connecting lines are plotted
errorbar(x,y,yerr,'~')
Could anyone please tell how can I get the plot I want?
Thank you.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- How to plot with error bars but without lines,
V.O. Dah <=