This commit is contained in:
2019-05-28 10:13:17 +02:00
parent af271d7a41
commit c7b5607509

10
script/test/test_x2.py Normal file
View File

@@ -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