10 lines
468 B
Python
10 lines
468 B
Python
###################################################################################################
|
|
# 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.setRange(10,20) |