Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

vtkXYPlotActor Class Reference

#include <vtkXYPlotActor.h>

Inheritance diagram for vtkXYPlotActor:

Inheritance graph
[legend]
Collaboration diagram for vtkXYPlotActor:

Collaboration graph
[legend]
List of all members.

Detailed Description

generate an x-y plot from input dataset(s) or field data

Date:
2002/11/11 21:41:29
Revision:
1.23

vtkXYPlotActor creates an x-y plot of data from one or more input data sets or field data. The class plots dataset scalar values (y-axis) against the points (x-axis). The x-axis values are generated by taking the point ids, computing a cumulative arc length, or a normalized arc length. More than one input data set can be specified to generate multiple plots. Alternatively, if field data is supplied as input, the class plots one component against another. (The user must specify which component to use as the x-axis and which for the y-axis.)

To use this class to plot dataset(s), you must specify one or more input datasets containing scalar and point data. You'll probably also want to invoke a method to control how the point coordinates are converted into x values (by default point ids are used).

To use this class to plot field data, you must specify one or more input data objects with its associated field data. You'll also want to specify which component to use as the x-axis and which to use as the y-axis. Note that when plotting field data, the x and y values are used directly (i.e., there are no options to normalize the components).

Once you've set up the plot, you'll want to position it. The PositionCoordinate defines the lower-left location of the x-y plot (specified in normalized viewport coordinates) and the Position2Coordinate define the upper-right corner. (Note: the Position2Coordinate is relative to PositionCoordinate, so you can move the vtkXYPlotActor around the viewport by setting just the PositionCoordinate.) The combination of the two position coordinates specifies a rectangle in which the plot will lie.

Optional features include the ability to specify axes labels, label format and plot title. You can also manually specify the x and y plot ranges (by default they are computed automatically). The Border instance variable is used to create space between the boundary of the plot window (specified by PositionCoordinate and Position2Coordinate) and the plot itself.

The font property of the plot title can be modified through the TitleTextProperty attribute. The font property of the axes titles and labels can be modified through the AxisTitleTextProperty and AxisLabelTextProperty attributes. You may also use the GetXAxisActor2D or GetYAxisActor2D methods to access each individual axis actor to modify their font properties. In the same way, the GetLegendBoxActor method can be used to access the legend box actor to modify its font properties.

There are several advanced features as well. You can assign per curve properties (such as color and a plot symbol). (Note that each input dataset and/or data object creates a single curve.) Another option is to add a plot legend that graphically indicates the correspondance between the curve, curve symbols, and the data source. You can also exchange the x and y axes if you prefer you plot orientation that way.

Warning:
If you are interested in plotting something other than scalar data, you can use the vtk data shuffling filters (e.g., vtkAttributeDataToFieldDataFilter snd vtkFieldDataToAttributeDataFilter) to convert the data into scalar data and/or points.
See also:
vtkActor2D vtkTextMapper vtkScalarBarActor vtkAxisActor2D vtkCubeAxesActor vtkAttributeDataToFieldDataFilter vtkFieldDataToAttributeDataFilter vtkTextProperty
Created by:
  • Schroeder, Will
CVS contributions (if > 5%):
  • Schroeder, Will (57%)
  • Lee, Jeff (26%)
  • Barre, Sebastien (10%)
CVS logs (CVSweb):
  • .h (/Hybrid/vtkXYPlotActor.h)
  • .cxx (/Hybrid/vtkXYPlotActor.cxx)
Examples:
vtkXYPlotActor (Examples)
Tests:
vtkXYPlotActor (Tests)

Definition at line 132 of file vtkXYPlotActor.h.

Public Types

typedef vtkActor2D Superclass

Public Methods

virtual const char * GetClassName ()
virtual int IsA (const char *type)
void PrintSelf (ostream &os, vtkIndent indent)
void RemoveAllInputs ()
vtkDataSetCollectionGetInputList ()
void AddDataObjectInput (vtkDataObject *in)
void RemoveDataObjectInput (vtkDataObject *in)
void SetPlotColor (int i, float r, float g, float b)
void SetPlotColor (int i, const float color[3])
float * GetPlotColor (int i)
void SetPlotSymbol (int i, vtkPolyData *input)
vtkPolyDataGetPlotSymbol (int i)
void SetPlotLabel (int i, const char *label)
const char * GetPlotLabel (int i)
virtual int GetPlotCurvePoints ()
virtual void SetPlotCurvePoints (int)
virtual void PlotCurvePointsOn ()
virtual void PlotCurvePointsOff ()
virtual int GetPlotCurveLines ()
virtual void SetPlotCurveLines (int)
virtual void PlotCurveLinesOn ()
virtual void PlotCurveLinesOff ()
void SetPlotLines (int i, int)
int GetPlotLines (int i)
void SetPlotPoints (int i, int)
int GetPlotPoints (int i)
void ViewportToPlotCoordinate (vtkViewport *viewport, float &u, float &v)
void PlotToViewportCoordinate (vtkViewport *viewport, float &u, float &v)
int IsInPlot (vtkViewport *viewport, float u, float v)
unsigned long GetMTime ()
void ReleaseGraphicsResources (vtkWindow *)
void AddInput (vtkDataSet *in, const char *arrayName, int component)
void AddInput (vtkDataSet *in)
void RemoveInput (vtkDataSet *in, const char *arrayName, int component)
void RemoveInput (vtkDataSet *in)
void SetPointComponent (int i, int comp)
int GetPointComponent (int i)
virtual void SetXValues (int)
virtual int GetXValues ()
void SetXValuesToIndex ()
void SetXValuesToArcLength ()
void SetXValuesToNormalizedArcLength ()
void SetXValuesToValue ()
const char * GetXValuesAsString ()
vtkDataObjectCollectionGetDataObjectInputList ()
virtual void SetDataObjectPlotMode (int)
virtual int GetDataObjectPlotMode ()
void SetDataObjectPlotModeToRows ()
void SetDataObjectPlotModeToColumns ()
const char * GetDataObjectPlotModeAsString ()
void SetDataObjectXComponent (int i, int comp)
int GetDataObjectXComponent (int i)
void SetDataObjectYComponent (int i, int comp)
int GetDataObjectYComponent (int i)
virtual void SetExchangeAxes (int)
virtual int GetExchangeAxes ()
virtual void ExchangeAxesOn ()
virtual void ExchangeAxesOff ()
virtual void SetReverseXAxis (int)
virtual int GetReverseXAxis ()
virtual void ReverseXAxisOn ()
virtual void ReverseXAxisOff ()
virtual void SetReverseYAxis (int)
virtual int GetReverseYAxis ()
virtual void ReverseYAxisOn ()
virtual void ReverseYAxisOff ()
vtkLegendBoxActorGetLegendBoxActor ()
vtkGlyphSource2DGetGlyphSource ()
virtual void SetTitle (const char *)
virtual char * GetTitle ()
virtual void SetXTitle (const char *)
virtual char * GetXTitle ()
virtual void SetYTitle (const char *)
virtual char * GetYTitle ()
vtkAxisActor2DGetXAxisActor2D ()
vtkAxisActor2DGetYAxisActor2D ()
virtual void SetXRange (float, float)
void SetXRange (float[2])
virtual float * GetXRange ()
virtual void GetXRange (float data[2])
virtual void SetYRange (float, float)
void SetYRange (float[2])
virtual float * GetYRange ()
virtual void GetYRange (float data[2])
void SetPlotRange (float xmin, float ymin, float xmax, float ymax)
virtual void SetNumberOfXLabels (int)
virtual int GetNumberOfXLabels ()
virtual void SetNumberOfYLabels (int)
virtual int GetNumberOfYLabels ()
void SetNumberOfLabels (int num)
virtual void SetLegend (int)
virtual int GetLegend ()
virtual void LegendOn ()
virtual void LegendOff ()
virtual void SetLegendPosition (float, float)
void SetLegendPosition (float[2])
virtual float * GetLegendPosition ()
virtual void GetLegendPosition (float &, float &)
virtual void GetLegendPosition (float[2])
virtual void SetLegendPosition2 (float, float)
void SetLegendPosition2 (float[2])
virtual float * GetLegendPosition2 ()
virtual void GetLegendPosition2 (float &, float &)
virtual void GetLegendPosition2 (float[2])
virtual void SetTitleTextProperty (vtkTextProperty *p)
virtual vtkTextPropertyGetTitleTextProperty ()
virtual void SetAxisTitleTextProperty (vtkTextProperty *p)
virtual vtkTextPropertyGetAxisTitleTextProperty ()
virtual void SetAxisLabelTextProperty (vtkTextProperty *p)
virtual vtkTextPropertyGetAxisLabelTextProperty ()
virtual void SetFontFamily (int val)
virtual int GetFontFamily ()
void SetFontFamilyToArial ()
void SetFontFamilyToCourier ()
void SetFontFamilyToTimes ()
virtual void SetBold (int val)
virtual int GetBold ()
virtual void BoldOn ()
virtual void BoldOff ()
virtual void SetItalic (int val)
virtual int GetItalic ()
virtual void ItalicOn ()
virtual void ItalicOff ()
virtual void SetShadow (int val)
virtual int GetShadow ()
virtual void ShadowOn ()
virtual void ShadowOff ()
virtual void SetLogx (int)
virtual int GetLogx ()
virtual void LogxOn ()
virtual void LogxOff ()
virtual void SetLabelFormat (const char *_arg)
virtual char * GetLabelFormat ()
virtual void SetBorder (int)
virtual int GetBorder ()
virtual int GetPlotPoints ()
virtual void SetPlotPoints (int)
virtual void PlotPointsOn ()
virtual void PlotPointsOff ()
virtual int GetPlotLines ()
virtual void SetPlotLines (int)
virtual void PlotLinesOn ()
virtual void PlotLinesOff ()
virtual void SetGlyphSize (float)
virtual float GetGlyphSize ()
void ViewportToPlotCoordinate (vtkViewport *viewport)
virtual void SetPlotCoordinate (float, float)
void SetPlotCoordinate (float[2])
virtual float * GetPlotCoordinate ()
virtual void GetPlotCoordinate (float &, float &)
virtual void GetPlotCoordinate (float[2])
void PlotToViewportCoordinate (vtkViewport *viewport)
virtual void SetViewportCoordinate (float, float)
void SetViewportCoordinate (float[2])
virtual float * GetViewportCoordinate ()
virtual void GetViewportCoordinate (float &, float &)
virtual void GetViewportCoordinate (float[2])
int RenderOpaqueGeometry (vtkViewport *)
int RenderOverlay (vtkViewport *)
int RenderTranslucentGeometry (vtkViewport *)

Static Public Methods

int IsTypeOf (const char *type)
vtkXYPlotActor * SafeDownCast (vtkObject *o)
vtkXYPlotActor * New ()

Protected Methods

 vtkXYPlotActor ()
 ~vtkXYPlotActor ()
void InitializeEntries ()
void ComputeXRange (float range[2], float *lengths)
void ComputeYRange (float range[2])
void ComputeDORange (float xrange[2], float yrange[2], float *lengths)
virtual void CreatePlotData (int *pos, int *pos2, float xRange[2], float yRange[2], float *norms, int numDS, int numDO)
void PlaceAxes (vtkViewport *viewport, int *size, int pos[2], int pos2[2])
void GenerateClipPlanes (int *pos, int *pos2)
float ComputeGlyphScale (int i, int *pos, int *pos2)
void ClipPlotData (int *pos, int *pos2, vtkPolyData *pd)
float * TransformPoint (int pos[2], int pos2[2], float x[3], float xNew[3])

Protected Attributes

vtkDataSetCollectionInputList
char ** SelectedInputScalars
vtkIntArraySelectedInputScalarsComponent
vtkDataObjectCollectionDataObjectInputList
char * Title
char * XTitle
char * YTitle
int XValues
int NumberOfXLabels
int NumberOfYLabels
int Logx
char * LabelFormat
float XRange [2]
float YRange [2]
float XComputedRange [2]
float YComputedRange [2]
int Border
int PlotLines
int PlotPoints
int PlotCurveLines
int PlotCurvePoints
int ExchangeAxes
int ReverseXAxis
int ReverseYAxis
vtkTextMapperTitleMapper
vtkActor2DTitleActor
vtkTextPropertyTitleTextProperty
vtkAxisActor2DXAxis
vtkAxisActor2DYAxis
vtkTextPropertyAxisTitleTextProperty
vtkTextPropertyAxisLabelTextProperty
float ViewportCoordinate [2]
float PlotCoordinate [2]
int DataObjectPlotMode
vtkIntArrayXComponent
vtkIntArrayYComponent
vtkIntArrayLinesOn
vtkIntArrayPointsOn
int NumberOfInputs
vtkPolyData ** PlotData
vtkGlyph2D ** PlotGlyph
vtkAppendPolyData ** PlotAppend
vtkPolyDataMapper2D ** PlotMapper
vtkActor2D ** PlotActor
int Legend
float LegendPosition [2]
float LegendPosition2 [2]
vtkLegendBoxActorLegendActor
vtkGlyphSource2DGlyphSource
vtkPlanesClipPlanes
float GlyphSize
int CachedSize [2]
vtkTimeStamp BuildTime


Member Typedef Documentation

typedef vtkActor2D vtkXYPlotActor::Superclass
 

Reimplemented from vtkActor2D.

Definition at line 135 of file vtkXYPlotActor.h.


Constructor & Destructor Documentation

vtkXYPlotActor::vtkXYPlotActor   [protected]
 

vtkXYPlotActor::~vtkXYPlotActor   [protected]
 


Member Function Documentation

virtual const char* vtkXYPlotActor::GetClassName   [virtual]
 

Reimplemented from vtkActor2D.

int vtkXYPlotActor::IsTypeOf const char *    type [static]
 

Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeRevisionMacro found in vtkSetGet.h.

Reimplemented from vtkActor2D.

virtual int vtkXYPlotActor::IsA const char *    type [virtual]
 

Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeRevisionMacro found in vtkSetGet.h.

Reimplemented from vtkActor2D.

vtkXYPlotActor* vtkXYPlotActor::SafeDownCast vtkObject   o [static]
 

Reimplemented from vtkActor2D.

void vtkXYPlotActor::PrintSelf ostream &    os,
vtkIndent    indent
[virtual]
 

Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.

Reimplemented from vtkActor2D.

vtkXYPlotActor* vtkXYPlotActor::New   [static]
 

Instantiate object with autorange computation; bold, italic, and shadows on; arial font family; the number of labels set to 5 for the x and y axes; a label format of "%-#6.3g"; and x coordinates computed from point ids.

Reimplemented from vtkActor2D.

void vtkXYPlotActor::AddInput vtkDataSet   in,
const char *    arrayName,
int    component
 

Add a dataset to the list of data to append. The array name specifies which point array to plot. If the array name is NULL, then the default scalars are used. The array can have multiple components, but only the first component is ploted.

void vtkXYPlotActor::AddInput vtkDataSet   in [inline]
 

Add a dataset to the list of data to append. The array name specifies which point array to plot. If the array name is NULL, then the default scalars are used. The array can have multiple components, but only the first component is ploted.

Definition at line 155 of file vtkXYPlotActor.h.

void vtkXYPlotActor::RemoveInput vtkDataSet   in,
const char *    arrayName,
int    component
 

Remove a dataset from the list of data to append.

void vtkXYPlotActor::RemoveInput vtkDataSet   in [inline]
 

Remove a dataset from the list of data to append.

Definition at line 161 of file vtkXYPlotActor.h.

void vtkXYPlotActor::RemoveAllInputs  
 

This removes all of the data set inputs, but does not change the data object inputs.

vtkDataSetCollection* vtkXYPlotActor::GetInputList   [inline]
 

Return the list of inputs to this filter.

Definition at line 169 of file vtkXYPlotActor.h.

void vtkXYPlotActor::SetPointComponent int    i,
int    comp
 

If plotting points by value, which component to use to determine the value. This sets a value per each input dataset (i.e., the ith dataset).

int vtkXYPlotActor::GetPointComponent int    i
 

If plotting points by value, which component to use to determine the value. This sets a value per each input dataset (i.e., the ith dataset).

virtual void vtkXYPlotActor::SetXValues int    [virtual]
 

Specify how the independent (x) variable is computed from the points. The independent variable can be the scalar/point index (i.e., point id), the accumulated arc length along the points, the normalized arc length, or by component value. If plotting datasets (e.g., points), the value that is used is specified by the PointComponent ivar. (Note: these methods also control how field data is plotted. Field data is usually plotted by value or index, if plotting length 1-dimensional length measures are used.)

virtual int vtkXYPlotActor::GetXValues   [virtual]
 

Specify how the independent (x) variable is computed from the points. The independent variable can be the scalar/point index (i.e., point id), the accumulated arc length along the points, the normalized arc length, or by component value. If plotting datasets (e.g., points), the value that is used is specified by the PointComponent ivar. (Note: these methods also control how field data is plotted. Field data is usually plotted by value or index, if plotting length 1-dimensional length measures are used.)

void vtkXYPlotActor::SetXValuesToIndex   [inline]
 

Specify how the independent (x) variable is computed from the points. The independent variable can be the scalar/point index (i.e., point id), the accumulated arc length along the points, the normalized arc length, or by component value. If plotting datasets (e.g., points), the value that is used is specified by the PointComponent ivar. (Note: these methods also control how field data is plotted. Field data is usually plotted by value or index, if plotting length 1-dimensional length measures are used.)

Definition at line 191 of file vtkXYPlotActor.h.

References VTK_XYPLOT_INDEX.

void vtkXYPlotActor::SetXValuesToArcLength   [inline]
 

Specify how the independent (x) variable is computed from the points. The independent variable can be the scalar/point index (i.e., point id), the accumulated arc length along the points, the normalized arc length, or by component value. If plotting datasets (e.g., points), the value that is used is specified by the PointComponent ivar. (Note: these methods also control how field data is plotted. Field data is usually plotted by value or index, if plotting length 1-dimensional length measures are used.)

Definition at line 192 of file vtkXYPlotActor.h.

References VTK_XYPLOT_ARC_LENGTH.

void vtkXYPlotActor::SetXValuesToNormalizedArcLength   [inline]
 

Specify how the independent (x) variable is computed from the points. The independent variable can be the scalar/point index (i.e., point id), the accumulated arc length along the points, the normalized arc length, or by component value. If plotting datasets (e.g., points), the value that is used is specified by the PointComponent ivar. (Note: these methods also control how field data is plotted. Field data is usually plotted by value or index, if plotting length 1-dimensional length measures are used.)

Definition at line 193 of file vtkXYPlotActor.h.

References VTK_XYPLOT_NORMALIZED_ARC_LENGTH.

void vtkXYPlotActor::SetXValuesToValue   [inline]
 

Specify how the independent (x) variable is computed from the points. The independent variable can be the scalar/point index (i.e., point id), the accumulated arc length along the points, the normalized arc length, or by component value. If plotting datasets (e.g., points), the value that is used is specified by the PointComponent ivar. (Note: these methods also control how field data is plotted. Field data is usually plotted by value or index, if plotting length 1-dimensional length measures are used.)

Definition at line 195 of file vtkXYPlotActor.h.

References VTK_XYPLOT_VALUE.

const char* vtkXYPlotActor::GetXValuesAsString  
 

Specify how the independent (x) variable is computed from the points. The independent variable can be the scalar/point index (i.e., point id), the accumulated arc length along the points, the normalized arc length, or by component value. If plotting datasets (e.g., points), the value that is used is specified by the PointComponent ivar. (Note: these methods also control how field data is plotted. Field data is usually plotted by value or index, if plotting length 1-dimensional length measures are used.)

void vtkXYPlotActor::AddDataObjectInput vtkDataObject   in
 

Add a dataset to the list of data to append.

void vtkXYPlotActor::RemoveDataObjectInput vtkDataObject   in
 

Remove a dataset from the list of data to append.

vtkDataObjectCollection* vtkXYPlotActor::GetDataObjectInputList   [inline]
 

Return the list of inputs to this filter.

Definition at line 212 of file vtkXYPlotActor.h.

virtual void vtkXYPlotActor::SetDataObjectPlotMode int    [virtual]
 

Indicate whether to plot rows or columns. If plotting rows, then the dependent variables is taken from a specified row, versus rows (y).

virtual int vtkXYPlotActor::GetDataObjectPlotMode   [virtual]
 

Indicate whether to plot rows or columns. If plotting rows, then the dependent variables is taken from a specified row, versus rows (y).

void vtkXYPlotActor::SetDataObjectPlotModeToRows   [inline]
 

Indicate whether to plot rows or columns. If plotting rows, then the dependent variables is taken from a specified row, versus rows (y).

Definition at line 221 of file vtkXYPlotActor.h.

References VTK_XYPLOT_ROW.

void vtkXYPlotActor::SetDataObjectPlotModeToColumns   [inline]
 

Indicate whether to plot rows or columns. If plotting rows, then the dependent variables is taken from a specified row, versus rows (y).

Definition at line 223 of file vtkXYPlotActor.h.

References VTK_XYPLOT_COLUMN.

const char* vtkXYPlotActor::GetDataObjectPlotModeAsString  
 

Indicate whether to plot rows or columns. If plotting rows, then the dependent variables is taken from a specified row, versus rows (y).

void vtkXYPlotActor::SetDataObjectXComponent int    i,
int    comp
 

Specify which component of the input data object to use as the independent variable for the ith input data object. (This ivar is ignored if plotting the index.) Note that the value is interpreted differently depending on DataObjectPlotMode. If the mode is Rows, then the value of DataObjectXComponent is the row number; otherwise it's the column number.

int vtkXYPlotActor::GetDataObjectXComponent int    i
 

Specify which component of the input data object to use as the independent variable for the ith input data object. (This ivar is ignored if plotting the index.) Note that the value is interpreted differently depending on DataObjectPlotMode. If the mode is Rows, then the value of DataObjectXComponent is the row number; otherwise it's the column number.

void vtkXYPlotActor::SetDataObjectYComponent int    i,
int    comp
 

Specify which component of the input data object to use as the dependent variable for the ith input data object. (This ivar is ignored if plotting the index.) Note that the value is interpreted differently depending on DataObjectPlotMode. If the mode is Rows, then the value of DataObjectYComponent is the row number; otherwise it's the column number.

int vtkXYPlotActor::GetDataObjectYComponent int    i
 

Specify which component of the input data object to use as the dependent variable for the ith input data object. (This ivar is ignored if plotting the index.) Note that the value is interpreted differently depending on DataObjectPlotMode. If the mode is Rows, then the value of DataObjectYComponent is the row number; otherwise it's the column number.

void vtkXYPlotActor::SetPlotColor int    i,
float    r,
float    g,
float    b
 

void vtkXYPlotActor::SetPlotColor int    i,
const float    color[3]
[inline]
 

Definition at line 257 of file vtkXYPlotActor.h.

float* vtkXYPlotActor::GetPlotColor int    i
 

void vtkXYPlotActor::SetPlotSymbol int    i,
vtkPolyData   input
 

vtkPolyData* vtkXYPlotActor::GetPlotSymbol int    i
 

void vtkXYPlotActor::SetPlotLabel int    i,
const char *    label
 

const char* vtkXYPlotActor::GetPlotLabel int    i
 

virtual int vtkXYPlotActor::GetPlotCurvePoints   [virtual]
 

virtual void vtkXYPlotActor::SetPlotCurvePoints int    [virtual]
 

virtual void vtkXYPlotActor::PlotCurvePointsOn   [virtual]
 

virtual void vtkXYPlotActor::PlotCurvePointsOff   [virtual]
 

virtual int vtkXYPlotActor::GetPlotCurveLines   [virtual]
 

virtual void vtkXYPlotActor::SetPlotCurveLines int    [virtual]
 

virtual void vtkXYPlotActor::PlotCurveLinesOn   [virtual]
 

virtual void vtkXYPlotActor::PlotCurveLinesOff   [virtual]
 

void vtkXYPlotActor::SetPlotLines int    i,
int   
 

int vtkXYPlotActor::GetPlotLines int    i
 

void vtkXYPlotActor::SetPlotPoints int    i,
int   
 

int vtkXYPlotActor::GetPlotPoints int    i
 

virtual void vtkXYPlotActor::SetExchangeAxes int    [virtual]
 

Enable/Disable exchange of the x-y axes (i.e., what was x becomes y, and vice-versa). Exchanging axes affects the labeling as well.

virtual int vtkXYPlotActor::GetExchangeAxes   [virtual]
 

Enable/Disable exchange of the x-y axes (i.e., what was x becomes y, and vice-versa). Exchanging axes affects the labeling as well.

virtual void vtkXYPlotActor::ExchangeAxesOn   [virtual]
 

Enable/Disable exchange of the x-y axes (i.e., what was x becomes y, and vice-versa). Exchanging axes affects the labeling as well.

virtual void vtkXYPlotActor::ExchangeAxesOff   [virtual]
 

Enable/Disable exchange of the x-y axes (i.e., what was x becomes y, and vice-versa). Exchanging axes affects the labeling as well.

virtual void vtkXYPlotActor::SetReverseXAxis int    [virtual]
 

Normally the x-axis is plotted from minimum to maximum. Setting this instance variable causes the x-axis to be plotted from maximum to minimum. Note that boolean always applies to the x-axis even if ExchangeAxes is set.

virtual int vtkXYPlotActor::GetReverseXAxis   [virtual]
 

Normally the x-axis is plotted from minimum to maximum. Setting this instance variable causes the x-axis to be plotted from maximum to minimum. Note that boolean always applies to the x-axis even if ExchangeAxes is set.

virtual void vtkXYPlotActor::ReverseXAxisOn   [virtual]
 

Normally the x-axis is plotted from minimum to maximum. Setting this instance variable causes the x-axis to be plotted from maximum to minimum. Note that boolean always applies to the x-axis even if ExchangeAxes is set.

virtual void vtkXYPlotActor::ReverseXAxisOff   [virtual]
 

Normally the x-axis is plotted from minimum to maximum. Setting this instance variable causes the x-axis to be plotted from maximum to minimum. Note that boolean always applies to the x-axis even if ExchangeAxes is set.

virtual void vtkXYPlotActor::SetReverseYAxis int    [virtual]
 

Normally the y-axis is plotted from minimum to maximum. Setting this instance variable causes the y-axis to be plotted from maximum to minimum. Note that boolean always applies to the y-axis even if ExchangeAxes is set.

virtual int vtkXYPlotActor::GetReverseYAxis   [virtual]
 

Normally the y-axis is plotted from minimum to maximum. Setting this instance variable causes the y-axis to be plotted from maximum to minimum. Note that boolean always applies to the y-axis even if ExchangeAxes is set.

virtual void vtkXYPlotActor::ReverseYAxisOn   [virtual]
 

Normally the y-axis is plotted from minimum to maximum. Setting this instance variable causes the y-axis to be plotted from maximum to minimum. Note that boolean always applies to the y-axis even if ExchangeAxes is set.

virtual void vtkXYPlotActor::ReverseYAxisOff   [virtual]
 

Normally the y-axis is plotted from minimum to maximum. Setting this instance variable causes the y-axis to be plotted from maximum to minimum. Note that boolean always applies to the y-axis even if ExchangeAxes is set.

vtkLegendBoxActor* vtkXYPlotActor::GetLegendBoxActor   [inline]
 

Retrieve handles to the legend box and glyph source. This is useful if you would like to change the default behavior of the legend box or glyph source. For example, the default glyph can be changed from a line to a vertex plus line, etc.)

Definition at line 316 of file vtkXYPlotActor.h.

vtkGlyphSource2D* vtkXYPlotActor::GetGlyphSource   [inline]
 

Retrieve handles to the legend box and glyph source. This is useful if you would like to change the default behavior of the legend box or glyph source. For example, the default glyph can be changed from a line to a vertex plus line, etc.)

Definition at line 318 of file vtkXYPlotActor.h.

virtual void vtkXYPlotActor::SetTitle const char *    [virtual]
 

Set/Get the title of the x-y plot, and the title along the x and y axes.

virtual char* vtkXYPlotActor::GetTitle   [virtual]
 

Set/Get the title of the x-y plot, and the title along the x and y axes.

virtual void vtkXYPlotActor::SetXTitle const char *    [virtual]
 

Set/Get the title of the x-y plot, and the title along the x and y axes.

virtual char* vtkXYPlotActor::GetXTitle   [virtual]
 

Set/Get the title of the x-y plot, and the title along the x and y axes.

virtual void vtkXYPlotActor::SetYTitle const char *    [virtual]
 

Set/Get the title of the x-y plot, and the title along the x and y axes.

virtual char* vtkXYPlotActor::GetYTitle   [virtual]
 

Set/Get the title of the x-y plot, and the title along the x and y axes.

vtkAxisActor2D* vtkXYPlotActor::GetXAxisActor2D   [inline]
 

Retrieve handles to the X and Y axis (so that you can set their text properties for example)

Definition at line 336 of file vtkXYPlotActor.h.

vtkAxisActor2D* vtkXYPlotActor::GetYAxisActor2D   [inline]
 

Retrieve handles to the X and Y axis (so that you can set their text properties for example)

Definition at line 338 of file vtkXYPlotActor.h.

virtual void vtkXYPlotActor::SetXRange float   ,