Module: Plot Spreadsheet ()

Description:

This module is deprecated. Please use the new Plot Spreadsheet module instead.

This module uses a connected Spreadsheet or Line Set and displays its numeric columns in a separate plot window. For line sets, the point coordinates x,y,z and per vertex data values are each regarded as comlumns. Each line of a line set leads to a separate graph in the plot.

Connections:

Data [required]
The Spreadsheet of Line Set object which contains the information to be plotted.

Ports:

Table

This port is used to select the table of the spreadsheet the columns to plot are taken from. It's only visible if the connected spreadsheet contains more than one table.

X

The column in the connected spreadsheet that is used for the X axis. Only columns that contain numeric values can be selected. When another column is selected, the plot will automatically switch to the newly selected data. The entry Num maybe used, to plot the Y values against their cardinal numbers.

Y

The column in the connected spreadsheet that is used for the Y axis. Only columns that contain numeric values can be selected. When another column is selected, the user must add or remove this column using the Buffer port. As a special entry, All refers to all columns of the table.

Buffer

This port allows the user to specify which data columns should be plotted. Only the data in the Y port will be considered. Single curves can be added, removed, or all currently displayed curves can be removed from the plot window.

Plot

Pressing this button will show the plot window.

Commands:

getActiveYCurves
Returns a list of numbers which identify the column indexes in the spreadsheet of the currently displayed curves.

getActiveXCurve
Returns the index of the currently used X axis.

setActiveYCurves [list]
Sets a list of numbers which identify the column indexes in the spreadsheet of the curves to be displayed.

setActiveXCurve [number]
Sets the index of the X axis to be used for plotting.

getXLabel
Returns the currently used X label.

getYLabel
Returns the currently used Y label.

setXLabel [name]
Sets the string used for the X label.

setYLabel [name]
Sets the string used for the Y label.

createSnapShot [file]
Creates a snapshot of the plot window and saves it in the file with the name 'file'. The type of image created is determined by the extension of 'file'.