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( ) → java.util.List [view source]
copy( ) → org.autoplot.dom.DomNode [view source]
diffs( org.autoplot.dom.DomNode node ) → java.util.List [view source]
getBackground( ) → java.awt.Color [view source]
getColorbarColumnPosition( ) → String [view source]
getColortable( ) → org.das2.graph.DasColorBar.Type [view source]
getColumnId( ) → String [view source]
getContext( ) → DatumRange [view source]
getController( ) → org.autoplot.dom.PlotController [view source]
getEphemerisLabels( ) → String [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( ) → String [view source]
getLegendFontSize( ) → String [view source]
getLegendPosition( ) → org.das2.graph.LegendPosition [view source]
getRowId( ) → String [view source]
getTicksURI( ) → String [view source]
getTitle( ) → String [view source]
getXaxis( ) → org.autoplot.dom.Axis [view source]
getYaxis( ) → org.autoplot.dom.Axis [view source]
getZaxis( ) → org.autoplot.dom.Axis [view source]
isAutoBinding( ) → boolean [view source]
isAutoLabel( ) → boolean [view source]
isDisplayLegend( ) → boolean [view source]
isDisplayTitle( ) → boolean [view source]
isIsotropic( ) → boolean [view source]
isVisible( ) → boolean [view source]
setAutoBinding( boolean autoBinding ) → void [view source]
setAutoLabel( boolean autolabel ) → void [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( String colorbarColumnPosition ) → void [view source]
setColortable( org.das2.graph.DasColorBar.Type colortable ) → void [view source]
setColumnId( String columnId ) → void [view source]
setContext( DatumRange context ) → void [view source]
setDisplayLegend( boolean displayLegend ) → void [view source]
setDisplayTitle( boolean displayTitle ) → void [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( boolean isotropic ) → void [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:
- 1em same as plot font.
- 2em twice plot font.
- 1em+2pt two points bigger than plot font.
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( org.das2.graph.LegendPosition legendPosition ) → void [view source]
setRowId( String rowId ) → void [view source]
setTicksURI( String ticksURI ) → void [view source]
setTitle( String title ) → void [view source]
setVisible( boolean visible ) → void [view source]
setXaxis( org.autoplot.dom.Axis xaxis ) → void [view source]
setYaxis( org.autoplot.dom.Axis yaxis ) → void [view source]
setZaxis( org.autoplot.dom.Axis zaxis ) → void [view source]
syncTo( org.autoplot.dom.DomNode n ) → void [view source]
syncTo( org.autoplot.dom.DomNode n, java.util.List exclude ) → void [view source]