org.das2.graph.PitchAngleDistributionRenderer

Draws a pitch angle distribution, which is a spectrogram wrapped around an origin. Datasets must be of the form Z[Angle,Radius]. The dataset Angle must be in radians (Units.radians or dimensionless), or have units Units.degrees. Note, at one time it would guess the angles dimension, but this was unreliable and was removed.

PitchAngleDistributionRenderer( org.das2.graph.DasColorBar cb )


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


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

Parameters

tds - a QDataSet

Returns:

org.das2.qds.QDataSet

[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]


getListIcon

getListIcon( ) → Icon

Returns:

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]


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]


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]


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]