[Scilab-users] Bar diagramm with error bars

Katharina Wagner katharina.wagner at bioenergy2020.eu
Wed Aug 16 09:21:35 CEST 2017


Hi everyone,

I am trying to find a way to include error bars on a bar diagram. Sadly, I could only find error bars for normal 2d plots.

//START OF CODE
close();

x=[2, 4,  8];

y=[0.2 0.12 0.06; 0.17 0.22 0.05; 0.19 0.20 0.07];

dev=[0.08 0.08 0.03; 0.03 0.05 0.02; 0.04 0.06 0.02];
// End of code

A really sloppy way I tried to fix it with:

//START OF CODE

bar(x, (y+dev),'w--')

bar(x, y)

//END OF CODE



But that doesn't show me the lower boundary. (And it doesn't look good)



Thank you in advance,

Katharina


Katharina Wagner
Junior Researcher

T  +43 (3322) 42606-165
katharina.wagner at bioenergy2020.eu<mailto:katharina.wagner at bioenergy2020.eu>

BIOENERGY 2020+ GmbH
Location Güssing | Wienerstraße 49, A 7540 Güssing
Head Office Graz | Inffeldgasse 21b, A 8010 Graz | www.bioenergy2020.eu<http://www.bioenergy2020.eu/>
FN 232244k, District Court Graz, VAT-No. ATU 56877044

Vertraulichkeitshinweis:
Diese Nachricht und allfällige angehängte Dokumente sind vertraulich und nur für den/die Adressaten bestimmt. Sollten Sie nicht der beabsichtigte Adressat sein, ist jede Offenlegung, Weiterleitung oder sonstige Verwendung dieser Information nicht gestattet. In diesem Fall bitten wir, den Absender zu verständigen und die Information zu vernichten. Für Übermittlungsfehler oder sonstige Irrtümer bei Übermittlung besteht keine Haftung.
Confidentiality Note:
This message and any attached files are confidential and intended solely for the addressee(s). Any publication, transmission or other use of the information by a person or entity other than the intended addressee is prohibited. If you receive this in error please contact the sender and delete the material. The sender does not accept liability for any errors or omissions as a result of the transmission.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20170816/41341c0e/attachment.htm>


More information about the users mailing list