|
From: William P. Y. H. <wil...@gm...> - 2005-12-31 15:12:12
|
On 12/31/05, Paul Kienzle <pki...@us...> wrote:
> You should just be able to use errorbar.
>
> Assuming you don't want to because you don't like how it looks, can you
> set the symbol size larger instead of drawing circles yourself?
>
> __gnuplot_set__('pointsize 2'); plot(rand(5,1),'o;;');
>
> I would suggest plotting using:
>
> plot(cx,cy,'o;;',lx,ly,'-;;')
>
> where cx,cy are the points and lx,ly are matrices with three columns
> and two rows for each r defining the end points of the error bars and
> the caps respectively.
>
> If you decide to draw the circles yourself, change this to:
>
> plot(cx,cy,'o;;',lx,ly,'-;;')
>
> where cx,cy contain one column per circle.
>
> No for loops needed, and a small number of separate matrices being
> plotted should improve your performance a lot.
>
OK, I was at first a bit confused because your code generates '+'
style points on the graph; but then I think it's a bug in octave.
Well, it seems I would have to look at the plotting commands...
Thanks anyway, I'll see what I can use ;)
--
William Poetra Yoga Hadisoeseno
|