From c7b56075096a2be15dc33bbeea40034fc64c26a6 Mon Sep 17 00:00:00 2001 From: Alexandre Gobbo Date: Tue, 28 May 2019 10:13:17 +0200 Subject: [PATCH] Startup --- script/test/test_x2.py | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 script/test/test_x2.py diff --git a/script/test/test_x2.py b/script/test/test_x2.py new file mode 100644 index 0000000..4ffdbd5 --- /dev/null +++ b/script/test/test_x2.py @@ -0,0 +1,10 @@ +################################################################################################### +# Creating a secondary X axis, using the underlying JFreeChart libraey API +################################################################################################### + +import org.jfree.chart.axis.NumberAxis as NumberAxis +import org.jfree.chart.axis.LogarithmicAxis as LogarithmicAxis + +p = plot([1,2,3,4,5])[0] +axis=p.getAxis(p.AxisId.X2) +axis \ No newline at end of file