Files
sf-rf/script/KR84_test_plot.py
2016-10-19 11:39:42 +02:00

20 lines
408 B
Python

#test KR84, 19.10.2016
[py]=plot([None,],["y"], title="OUT")
#Y error plot
py.setStyle(py.Style.ErrorY)
py.setLegendVisible(True)
sy1 = LinePlotErrorSeries("F1")
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, "Text",py.background)
m.setLabelPaint(Color.BLACK)