New ScreenPanel
This commit is contained in:
18
script/test46.py
Executable file
18
script/test46.py
Executable file
@@ -0,0 +1,18 @@
|
||||
|
||||
p = plot([10,500,1000,5000,1000], xdata = [0.1,1,10,100,1000, 10000], title = "Logarithmic")[0]
|
||||
|
||||
#import org.jfree.chart.axis.NumberAxis as NumberAxis
|
||||
#import org.jfree.chart.axis.LogarithmicAxis as LogarithmicAxis
|
||||
#jf = p.chart.plot
|
||||
#logAxis = LogarithmicAxis("")
|
||||
#logAxis.setRange(0.01,100)
|
||||
#jf.setDomainAxis(0, logAxis )
|
||||
|
||||
|
||||
#p.getAxis(p.AxisId.X).setRange(0.01, 100000)
|
||||
p.getAxis(p.AxisId.X).logarithmic = True
|
||||
p.getAxis(p.AxisId.Y).setRange(1, 100000)
|
||||
p.getAxis(p.AxisId.Y).logarithmic = True
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user