[Scilab-users] {EXT} tweaking the appearance of error bars created by errbar()

Rafael Guerra jrafaelbguerra at hotmail.com
Fri Dec 16 19:31:19 CET 2016


Hi,

Please check this:

// START OF CODE
clf();
x = 0:0.1:2*%pi;
y = sin(x);
em = rand(y)/10;
ep = rand(y)/7;

dx = (max(x)-min(x))/200; // T width
xvp = [x - dx; x + dx];
yvp = [y+ep; y+ep];
yvm = [y-em; y-em];
plot(x,y)
errbar(x, y, em, ep);
xsegs(xvp,yvp)
xsegs(xvp,yvm)
// END OF CODE

Regards,
Rafael

-----Original Message-----
From: users [mailto:users-bounces at lists.scilab.org] On Behalf Of christophk
Sent: Friday, December 16, 2016 4:32 PM
To: users at lists.scilab.org
Subject: Re: [Scilab-users] {EXT} tweaking the appearance of error bars created by errbar()

Awesome - thanks Christophe! :-)
If anyone knows how I can add some T-stops to the errorbars please let me
know.
Perhaps there is an atoms package that takes care of this? Without the
vertical bars on either side of the error bars - the graph looks kind of
weird to me.



--
View this message in context: http://mailinglists.scilab.org/tweaking-the-appearance-of-error-bars-created-by-errbar-tp4035229p4035232.html
Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com.
_______________________________________________
users mailing list
users at lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users



More information about the users mailing list