org.jzy3d.plot3d.primitives.axes.layout.renderers
Class ScientificNotationTickRenderer

java.lang.Object
  extended by org.jzy3d.plot3d.primitives.axes.layout.renderers.ScientificNotationTickRenderer
All Implemented Interfaces:
ITickRenderer

public class ScientificNotationTickRenderer
extends Object
implements ITickRenderer

Formats 1000 to '1.0e3'


Field Summary
protected  int precision
           
 
Constructor Summary
ScientificNotationTickRenderer()
           
ScientificNotationTickRenderer(int precision)
           
 
Method Summary
 String format(float value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

precision

protected int precision
Constructor Detail

ScientificNotationTickRenderer

public ScientificNotationTickRenderer()

ScientificNotationTickRenderer

public ScientificNotationTickRenderer(int precision)
Method Detail

format

public String format(float value)
Specified by:
format in interface ITickRenderer