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)