From 31f9fdb4475a0fd11e4a8236f9888233dfc97ce2 Mon Sep 17 00:00:00 2001 From: Roger Kalt Date: Thu, 27 Oct 2016 09:21:48 +0200 Subject: [PATCH] Script execution --- script/KR84_test_plot.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/script/KR84_test_plot.py b/script/KR84_test_plot.py index a857a96..928e69f 100644 --- a/script/KR84_test_plot.py +++ b/script/KR84_test_plot.py @@ -26,11 +26,11 @@ m.setLabelPaint(Color.BLACK) #Y error plot -py.setStyle(py.Style.ErrorY) -py.setLegendVisible(True) +py2.setStyle(py.Style.ErrorY) +py2.setLegendVisible(True) sy1 = LinePlotErrorSeries("F2") -py.addSeries(sy1) +py2.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) @@ -38,9 +38,9 @@ sy1.appendData(17.8, 4.5, 3.1, 5.8) -m=py.addMarker(2.0, py.AxisId.X, "Text1",py.background) +m=py2.addMarker(2.0, py.AxisId.X, "Text1",py2.background) m.setLabelPaint(Color.BLACK) -m=py.addMarker(10.0, py.AxisId.X, "Text2",py.background) +m=py2.addMarker(10.0, py.AxisId.X, "Text2",py2.background) m.setLabelPaint(Color.BLACK) -m=py.addMarker(17.8, py.AxisId.X, "Text3",py.background) +m=py2.addMarker(17.8, py.AxisId.X, "Text3",py2.background) m.setLabelPaint(Color.BLACK)