org.das2.graph.PolarPlotRenderer
PolarPlotRenderer is a refactoring of PitchAngleDistributionRenderer
which will also render rank 1 series.
PROP_LINEWIDTH
PROP_ORIGINNORTH
if true, then angle=0 is in the positive Y direction, otherwise
it is in the positive x direction
PROP_CLOCKWISE
PROP_ORIGIN
One of "", "N", "S", "E", "W"
PROP_DRAWPOLARAXES
PROP_MIRROR
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]
acceptsData
acceptsData( QDataSet ds ) → boolean
accepts data that is rank 2 and not a timeseries. Angles
may be in radians or in Units.degrees.
ds[Energy,Pitch] or ds[Pitch,Energy] where Pitch is in:
Units.degrees, Units.radians, or dimensionless and -2*PI to 2*PI.
Parameters
ds - a QDataSet
Returns:
a boolean
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]
doAutorange
doAutorange( QDataSet tds ) → QDataSet
autorange the data set. If a color bar is needed then a 3-D bounding cube will be returned.
Parameters
tds - a QDataSet
Returns:
bounding box or cube.
[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]
getControl
getControl( ) → String
Returns:
java.lang.String
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]
getLineWidth
getLineWidth( ) → double
get the width, in pixels of the contour lines.
Returns:
width in pixels
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]
getListIcon
getListIcon( ) → Icon
experiment with drawing the list icon dynamically.
Returns:
a javax.swing.Icon
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]
getOrigin
getOrigin( ) → String
Returns:
java.lang.String
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]
isClockwise
isClockwise( ) → boolean
true if increasing angle corresponds to clockwise when not mirror.
Returns:
true if increasing angle corresponds to clockwise
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]
isDrawPolarAxes
isDrawPolarAxes( ) → boolean
Returns:
boolean
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]
isMirror
isMirror( ) → boolean
Returns:
boolean
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]
isOriginNorth
isOriginNorth( ) → boolean
Returns:
boolean
[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]
selectionArea
selectionArea( ) → Shape
Returns:
java.awt.Shape
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]
setClockwise
setClockwise( boolean clockwise ) → void
true if increasing angle corresponds to clockwise when not mirror.
Parameters
clockwise - true if increasing angle corresponds to clockwise
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]
setColorBar
setColorBar( org.das2.graph.DasColorBar colorBar ) → void
Parameters
colorBar - a DasColorBar
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]
setDrawPolarAxes
setDrawPolarAxes( boolean drawPolarAxes ) → void
Parameters
drawPolarAxes - a boolean
Returns:
void (returns nothing)
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]
setLineWidth
setLineWidth( double lineWidth ) → void
Parameters
lineWidth - a double
Returns:
void (returns nothing)
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]
setMirror
setMirror( boolean mirror ) → void
Parameters
mirror - a boolean
Returns:
void (returns nothing)
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]
setOrigin
setOrigin( String origin ) → void
Parameters
origin - a String
Returns:
void (returns nothing)
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]
setOriginNorth
setOriginNorth( boolean originNorth ) → void
Parameters
originNorth - a boolean
Returns:
void (returns nothing)
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]
update
update( ) → void
Returns:
void (returns nothing)
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]