From cdb0f5d74e2b1e3be32d2049243558295ae26f2c Mon Sep 17 00:00:00 2001 From: Roger Kalt Date: Thu, 27 Oct 2016 09:21:12 +0200 Subject: [PATCH] Script execution --- script/KR84_test_plot.py | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/script/KR84_test_plot.py b/script/KR84_test_plot.py index 952fd97..a857a96 100644 --- a/script/KR84_test_plot.py +++ b/script/KR84_test_plot.py @@ -15,6 +15,29 @@ sy1.appendData(17.8, 4.5, 3.1, 5.8) +m=py.addMarker(2.0, py.AxisId.X, "Text1",py.background) +m.setLabelPaint(Color.BLACK) +m=py.addMarker(10.0, py.AxisId.X, "Text2",py.background) +m.setLabelPaint(Color.BLACK) +m=py.addMarker(17.8, py.AxisId.X, "Text3",py.background) +m.setLabelPaint(Color.BLACK) + + + + +#Y error plot +py.setStyle(py.Style.ErrorY) +py.setLegendVisible(True) + +sy1 = LinePlotErrorSeries("F2") +py.addSeries(sy1) +sy1.setLinesVisible(False) +sy1.appendData(1.0, 10.0, 9.0, 11.0) +sy1.appendData(10.0, 6.1, 4.34, 7.54) +sy1.appendData(17.8, 4.5, 3.1, 5.8) + + + m=py.addMarker(2.0, py.AxisId.X, "Text1",py.background) m.setLabelPaint(Color.BLACK) m=py.addMarker(10.0, py.AxisId.X, "Text2",py.background)