org.autoplot.dom.Plot

Represents a 2-D plot with an X and Y axis, and "Z" axis that is often hidden or implemented with a color bar.

Plot( )


PROP_XAXIS


PROP_YAXIS


PROP_ZAXIS


PROP_TITLE

title for the plot.


PROP_FONTSIZE


PROP_LEGENDFONTSIZE


PROP_BACKGROUND


PROP_DISPLAYTITLE


PROP_LEGENDPOSITION


PROP_DISPLAYLEGEND


PROP_AUTOLABEL


PROP_VISIBLE

false indicates that the plot and its data will not be drawn.


PROP_AUTOBINDING

indicates the application is allowed to automatically create bindings to the plot, typically when it is first created.


PROP_ISOTROPIC


PROP_COLORTABLE


PROP_COLORBARCOLUMNPOSITION


PROP_ROWID


PROP_COLUMNID


PROP_CONTEXT


PROP_TICKS_URI


PROP_EPHEMERISLINECOUNT


PROP_EPHEMERIS_LABELS


childNodes

childNodes( ) → List

Returns:

java.util.List

[search for examples] [view on GitHub] [view on old javadoc] [view source]


copy

copy( ) → DomNode

Returns:

org.autoplot.dom.DomNode

[search for examples] [view on GitHub] [view on old javadoc] [view source]


diffs

diffs( org.autoplot.dom.DomNode node ) → List

Parameters

node - a DomNode

Returns:

java.util.List

[search for examples] [view on GitHub] [view on old javadoc] [view source]


getBackground

getBackground( ) → Color

Returns:

java.awt.Color

[search for examples] [view on GitHub] [view on old javadoc] [view source]


getColorbarColumnPosition

getColorbarColumnPosition( ) → String

Returns:

java.lang.String

[search for examples] [view on GitHub] [view on old javadoc] [view source]


getColortable

getColortable( ) → Type

Returns:

org.das2.graph.DasColorBar.Type

[search for examples] [view on GitHub] [view on old javadoc] [view source]


getColumnId

getColumnId( ) → String

Returns:

java.lang.String

[search for examples] [view on GitHub] [view on old javadoc] [view source]


getContext

getContext( ) → DatumRange

Returns:

org.das2.datum.DatumRange

[search for examples] [view on GitHub] [view on old javadoc] [view source]


getController

getController( ) → PlotController

Returns:

org.autoplot.dom.PlotController

[search for examples] [view on GitHub] [view on old javadoc] [view source]


getEphemerisLabels

getEphemerisLabels( ) → String

Returns:

java.lang.String

[search for examples] [view on GitHub] [view on old javadoc] [view source]


getEphemerisLineCount

getEphemerisLineCount( ) → int

0 or the number of lines to allocate space for ephemeris. Note this is set automatically when the ephemeris is loaded. This was introduced so that fixLayout could be performed without knowing what the TCA dataset contains.

Returns:

the line count or -1 if no lines are allocated.

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


getLegendFontSize

getLegendFontSize( ) → String

Returns:

java.lang.String

[search for examples] [view on GitHub] [view on old javadoc] [view source]


getLegendPosition

getLegendPosition( ) → LegendPosition

Returns:

org.das2.graph.LegendPosition

[search for examples] [view on GitHub] [view on old javadoc] [view source]


getRowId

getRowId( ) → String

Returns:

java.lang.String

[search for examples] [view on GitHub] [view on old javadoc] [view source]


getTicksURI

getTicksURI( ) → String

Returns:

java.lang.String

[search for examples] [view on GitHub] [view on old javadoc] [view source]


getTitle

getTitle( ) → String

Returns:

java.lang.String

[search for examples] [view on GitHub] [view on old javadoc] [view source]


getXaxis

getXaxis( ) → Axis

Returns:

org.autoplot.dom.Axis

[search for examples] [view on GitHub] [view on old javadoc] [view source]


getYaxis

getYaxis( ) → Axis

Returns:

org.autoplot.dom.Axis

[search for examples] [view on GitHub] [view on old javadoc] [view source]


getZaxis

getZaxis( ) → Axis

Returns:

org.autoplot.dom.Axis

[search for examples] [view on GitHub] [view on old javadoc] [view source]


isAutoBinding

isAutoBinding( ) → boolean

Returns:

boolean

[search for examples] [view on GitHub] [view on old javadoc] [view source]


isAutoLabel

isAutoLabel( ) → boolean

Returns:

boolean

[search for examples] [view on GitHub] [view on old javadoc] [view source]


isDisplayLegend

isDisplayLegend( ) → boolean

Returns:

boolean

[search for examples] [view on GitHub] [view on old javadoc] [view source]


isDisplayTitle

isDisplayTitle( ) → boolean

Returns:

boolean

[search for examples] [view on GitHub] [view on old javadoc] [view source]


isIsotropic

isIsotropic( ) → boolean

Returns:

boolean

[search for examples] [view on GitHub] [view on old javadoc] [view source]


isVisible

isVisible( ) → boolean

Returns:

boolean

[search for examples] [view on GitHub] [view on old javadoc] [view source]


setAutoBinding

setAutoBinding( boolean autoBinding ) → void

Parameters

autoBinding - a boolean

Returns:

void (returns nothing)

[search for examples] [view on GitHub] [view on old javadoc] [view source]


setAutoLabel

setAutoLabel( boolean autolabel ) → void

Parameters

autolabel - a boolean

Returns:

void (returns nothing)

[search for examples] [view on GitHub] [view on old javadoc] [view source]


setBackground

setBackground( java.awt.Color background ) → void

set the background color for the plot. This is normally transparent, so the canvas color is used, and can be reset with Color(0,0,0,0).

Parameters

background - a Color

Returns:

void (returns nothing)

[search for examples] [view on GitHub] [view on old javadoc] [view source]


setColorbarColumnPosition

setColorbarColumnPosition( String colorbarColumnPosition ) → void

Parameters

colorbarColumnPosition - a String

Returns:

void (returns nothing)

[search for examples] [view on GitHub] [view on old javadoc] [view source]


setColortable

setColortable( org.das2.graph.DasColorBar.Type colortable ) → void

Parameters

colortable - a DasColorBar.Type

Returns:

void (returns nothing)

[search for examples] [view on GitHub] [view on old javadoc] [view source]


setColumnId

setColumnId( String columnId ) → void

Parameters

columnId - a String

Returns:

void (returns nothing)

[search for examples] [view on GitHub] [view on old javadoc] [view source]


setContext

setContext( DatumRange context ) → void

Parameters

context - a DatumRange

Returns:

void (returns nothing)

[search for examples] [view on GitHub] [view on old javadoc] [view source]


setDisplayLegend

setDisplayLegend( boolean displayLegend ) → void

Parameters

displayLegend - a boolean

Returns:

void (returns nothing)

[search for examples] [view on GitHub] [view on old javadoc] [view source]


setDisplayTitle

setDisplayTitle( boolean displayTitle ) → void

Parameters

displayTitle - a boolean

Returns:

void (returns nothing)

[search for examples] [view on GitHub] [view on old javadoc] [view source]


setEphemerisLabels

setEphemerisLabels( String ephemerisLabels ) → void

explicitly set the label for each line of ephemeris, using a semi-colon delimited list of labels.

Parameters

ephemerisLabels - a String

Returns:

void (returns nothing)

[search for examples] [view on GitHub] [view on old javadoc] [view source]


setEphemerisLineCount

setEphemerisLineCount( int ephemerisLineCount ) → void

0 or the number of lines to allocate space for ephemeris. Note this is set automatically when the ephemeris is loaded.

Parameters

ephemerisLineCount - an int

Returns:

void (returns nothing)

[search for examples] [view on GitHub] [view on old javadoc] [view source]


setFontSize

setFontSize( String fontSize ) → void

set the font size relative to the canvas font size. For example "2em" will be twice the size. "" is an alias for 1em.

Parameters

fontSize - a String

Returns:

void (returns nothing)

[search for examples] [view on GitHub] [view on old javadoc] [view source]


setIsotropic

setIsotropic( boolean isotropic ) → void

Parameters

isotropic - a boolean

Returns:

void (returns nothing)

[search for examples] [view on GitHub] [view on old javadoc] [view source]


setLegendFontSize

setLegendFontSize( String legendFontSize ) → void

set the font size for the legend, using the conventions where 1em is the plot's font size:

Parameters

legendFontSize - a String

Returns:

void (returns nothing)

See Also:

setFontSize(java.lang.String)


[search for examples] [view on GitHub] [view on old javadoc] [view source]


setLegendPosition

setLegendPosition( org.das2.graph.LegendPosition legendPosition ) → void

Parameters

legendPosition - a LegendPosition

Returns:

void (returns nothing)

[search for examples] [view on GitHub] [view on old javadoc] [view source]


setRowId

setRowId( String rowId ) → void

Parameters

rowId - a String

Returns:

void (returns nothing)

[search for examples] [view on GitHub] [view on old javadoc] [view source]


setTicksURI

setTicksURI( String ticksURI ) → void

Parameters

ticksURI - a String

Returns:

void (returns nothing)

[search for examples] [view on GitHub] [view on old javadoc] [view source]


setTitle

setTitle( String title ) → void

Parameters

title - a String

Returns:

void (returns nothing)

[search for examples] [view on GitHub] [view on old javadoc] [view source]


setVisible

setVisible( boolean visible ) → void

Parameters

visible - a boolean

Returns:

void (returns nothing)

[search for examples] [view on GitHub] [view on old javadoc] [view source]


setXaxis

setXaxis( org.autoplot.dom.Axis xaxis ) → void

Parameters

xaxis - an Axis

Returns:

void (returns nothing)

[search for examples] [view on GitHub] [view on old javadoc] [view source]


setYaxis

setYaxis( org.autoplot.dom.Axis yaxis ) → void

Parameters

yaxis - an Axis

Returns:

void (returns nothing)

[search for examples] [view on GitHub] [view on old javadoc] [view source]


setZaxis

setZaxis( org.autoplot.dom.Axis zaxis ) → void

Parameters

zaxis - an Axis

Returns:

void (returns nothing)

[search for examples] [view on GitHub] [view on old javadoc] [view source]


syncTo

syncTo( org.autoplot.dom.DomNode n ) → void

Parameters

n - a DomNode

Returns:

void (returns nothing)

[search for examples] [view on GitHub] [view on old javadoc] [view source]

syncTo( org.autoplot.dom.DomNode n, java.util.List exclude ) → void