org.das2.graph.ContoursRenderer
Renderer for making contour plots.
ContoursRenderer( )
CONTROL_KEY_LEVELS
CONTROL_KEY_LABELS
CONTROL_KEY_LABEL_CADENCE
CONTROL_KEY_FORMAT
CONTROL_KEY_LABEL_ORIENT
PROP_FONTSIZE
PROP_FORMAT
format, empty string means use the default format.
PROP_LABELORIENT
PROP_SIMPLIFYPATHS
PROP_LINETHICK
handle for the property lineThick.
PROP_LINESTYLE
acceptContext
acceptContext( int x, int y ) → boolean
Parameters
x - an int
y - an int
Returns:
boolean
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]
acceptsDataSet
acceptsDataSet( QDataSet ds ) → boolean
Parameters
ds - a QDataSet
Returns:
boolean
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]
doAutorange
doAutorange( QDataSet ds ) → QDataSet
autorange on the data, returning a rank 2 bounds for the dataset.
Parameters
ds - the dataset.
Returns:
a bounding box
See Also:
org.das2.qds.examples.Schemes#boundingBox()
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]
getColor
getColor( ) → Color
Get the color for contour lines
Returns:
the color for contour lines
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]
getContours
getContours( ) → String
return the contour locations, a comma-separated list
Returns:
the contour locations, a comma-separated list
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]
getControl
getControl( ) → String
Returns:
java.lang.String
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]
getFontSize
getFontSize( ) → String
Returns:
java.lang.String
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]
getFormat
getFormat( ) → String
Returns:
java.lang.String
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]
getLabelCadence
getLabelCadence( ) → String
return the inter-label distance, in ems.
Returns:
get the inter-label distance, in ems.
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]
getLabelOrient
getLabelOrient( ) → String
Returns:
java.lang.String
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]
getLineStyle
getLineStyle( ) → PsymConnector
Returns:
org.das2.graph.PsymConnector
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]
getLineThick
getLineThick( ) → double
get the line thickness in pixels.
Returns:
the line thickness in pixels.
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]
getListIcon
getListIcon( ) → Icon
Returns:
javax.swing.Icon
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]
getListLabel
getListLabel( ) → String
Returns:
java.lang.String
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]
isDrawLabels
isDrawLabels( ) → boolean
true if labels should be drawn.
Returns:
true if labels should be drawn.
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]
isSimplifyPaths
isSimplifyPaths( ) → boolean
return true if we should reduce paths to remove features that fall within a pixel, etc.
Returns:
true if we should reduce paths
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]
render
render( java.awt.Graphics2D g1, org.das2.graph.DasAxis xAxis, org.das2.graph.DasAxis yAxis ) → void
Parameters
g1 - a Graphics2D
xAxis - a DasAxis
yAxis - a DasAxis
Returns:
void (returns nothing)
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]
setColor
setColor( java.awt.Color color ) → void
Set the color for contour lines
Parameters
color - the color for contour lines
Returns:
void (returns nothing)
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]
setContours
setContours( String contours ) → void
set the contour locations, a comma-separated list
Parameters
contours - the contour locations, a comma-separated list
Returns:
void (returns nothing)
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]
setControl
setControl( String s ) → void
Parameters
s - a String
Returns:
void (returns nothing)
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]
setDataSet
setDataSet( QDataSet ds ) → void
Parameters
ds - a QDataSet
Returns:
void (returns nothing)
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]
setDrawLabels
setDrawLabels( boolean drawLabels ) → void
true if labels should be drawn.
Parameters
drawLabels - true if labels should be drawn.
Returns:
void (returns nothing)
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]
setFontSize
setFontSize( String fontSize ) → void
Parameters
fontSize - a String
Returns:
void (returns nothing)
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]
setFormat
setFormat( String value ) → void
explicitly set the format.
format is found there.
Parameters
value - a String
Returns:
void (returns nothing)
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]
setLabelCadence
setLabelCadence( String labelCadence ) → void
set the inter-label distance, in ems.
Parameters
labelCadence - the inter-label distance, in ems.
Returns:
void (returns nothing)
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]
setLabelOrient
setLabelOrient( String labelOrient ) → void
Parameters
labelOrient - a String
Returns:
void (returns nothing)
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]
setLineStyle
setLineStyle( org.das2.graph.PsymConnector lineStyle ) → void
Parameters
lineStyle - a PsymConnector
Returns:
void (returns nothing)
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]
setLineThick
setLineThick( double newlineThick ) → void
set the line thickness in pixels.
Parameters
newlineThick - the line thickness in pixels.
Returns:
void (returns nothing)
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]
setParent
setParent( org.das2.graph.DasPlot parent ) → void
Parameters
parent - a DasPlot
Returns:
void (returns nothing)
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]
setSimplifyPaths
setSimplifyPaths( boolean newsimplifyPaths ) → void
set to true if we should reduce paths to remove features that fall within a pixel, etc.
Parameters
newsimplifyPaths - true if we should reduce paths
Returns:
void (returns nothing)
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]
updatePlotImage
updatePlotImage( org.das2.graph.DasAxis xAxis, org.das2.graph.DasAxis yAxis, ProgressMonitor monitor ) → void
Parameters
xAxis - a DasAxis
yAxis - a DasAxis
monitor - a ProgressMonitor
Returns:
void (returns nothing)
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]