Class SmartTickProvider
java.lang.Object
org.jzy3d.plot3d.primitives.axis.layout.providers.AbstractTickProvider
org.jzy3d.plot3d.primitives.axis.layout.providers.SmartTickProvider
- All Implemented Interfaces:
ITickProvider
Compute the ticks placements automatically between values min and max.
- Author:
- Jerome Kodjabachian
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondouble[]
generateTicks
(double min, double max, int steps) int
getSteps()
Methods inherited from class org.jzy3d.plot3d.primitives.axis.layout.providers.AbstractTickProvider
generateTicks
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.jzy3d.plot3d.primitives.axis.layout.providers.ITickProvider
generateTicks
-
Field Details
-
steps
protected int steps
-
-
Constructor Details
-
SmartTickProvider
public SmartTickProvider() -
SmartTickProvider
public SmartTickProvider(int steps)
-
-
Method Details
-
generateTicks
public double[] generateTicks(double min, double max, int steps) - Specified by:
generateTicks
in interfaceITickProvider
-
getSteps
public int getSteps()- Specified by:
getSteps
in interfaceITickProvider
-