On the X axis my data points(20 of them) take values between 0 and 0.2. My X axis should have range from 0 to 1.
On the Y axis corresponding values are between 0.8 and 0.86. When I plot this graph using NumberAxis in JFreeChart I get very dense graph especially in the interval X belongs to 0.01 to 0.02.(so I can't see much)
Is it meaningful to use log scale for X axis in this case? How should I adjust LogAxis in JFreeChart here?
相关问题
- I want to trace logs using a Macro multi parameter
- Error message 'No handlers could be found for
- convert logback.xml to log4j.properties
- Django management command doesn't show logging
- JFreeChart SpiderWebPlot inner circles?
相关文章
- how do I log requests and responses for debugging
- Android Studio doesn't display logs by package
- Can Persistence Ignorance Scale?
- Stacktrace does not print in Glassfish 4.1 Cluster
- Can i use Calc inside Transform:Scale function in
- Out of curiosity — why don't logging APIs impl
- Laravel log file based on date
- Java -How to get logger to work in shutdown hook?
Using log scale for x-coordinates is sensible. One approach without trying to figure out the right syntax for LogAxis is to transform the data points from
{x, y}
to{log(x), y}
and use the normal linear scale charting.To use
LogAxis
, just create the axis and set it as the plot's domain:LogAxisDemo1
, shown among the XY Charts in the demo, is a complete example.LogarithmicAxis
may be a more visually appealing alternative.