org.jscience.awt
Interface ColorScheme

All Known Implementing Classes:
JContourPlot

public interface ColorScheme

This interface allows the user to define a custom color scheme for plots such as ContourPlot.


Method Summary
 java.awt.Color getColor(float f)
          By convention, this should return a color for f between 0 and 1.
 

Method Detail

getColor

java.awt.Color getColor(float f)
By convention, this should return a color for f between 0 and 1. Exceptions should be throw for out of bounds values.

Parameters:
f - DOCUMENT ME!
Returns:
DOCUMENT ME!