To apply coloring:
In the filters panel, click and hold down the left mouse button on the filter representing the column that you want to color by.
Comment: Coloring is also available in the Visualization Properties dialog. The color of marked items is changed under Edit > Document Properties.
Drag the filter to the center of the visualization.
Response: Drop targets appear in the middle of the visualization.
Release the mouse button on the Color target.
Response: The markers are colored with one color for each category in the selected column.
Comment: To learn more about coloring in Spotfire, see Coloring Overview.
To shape markers by a column:
In the filters panel, click and hold down the left mouse button on the filter representing the column that you want to shape by.
Comment: Shape is also available in the Properties dialog.
Drag the filter to the center of the visualization.
Comment: Drop targets appear in the middle of the visualization.
Release the mouse button on the Shape by target.
Response: The markers are shaped with one shape for each category in the selected column.
Comment: In the Shape page of the Properties dialog you can also change the fixed shape, or select pies as shape. To use pies, you must first aggregate the markers, as described below.
To aggregate markers:
Right-click in the scatter plot to display the pop-up menu.
Select Properties.
Comment: If the Legend is visible, the Marker by property may also be changed there.
Click to display the Marker By page.
Select a column to group the markers by under Show one marker for each. You can also select Remove to get the option (None) on the Marker By selector. If (None) is selected then the number of markers shown will depend on other properties only, such as which columns are selected on the axes or used to color by. None is often a good alternative if you intend to use pies as shape.
Response: The markers are grouped so that a single marker is shown for each category in the selected column.
Comment: Select (Row Number) to remove the aggregation and show one marker for each row.
To use multiple columns on one axis:
This is an example of how to use two columns on the Y-axis. Each column will be represented by a set of colored markers.
Click on the arrow next to the plus sign on the axis of your choice.
Select a new column from the
menu.
Comment: A column can also be dragged and dropped from the filters
panel.
Select (Column
Names) in the Color By drop down list.
Response: The markers are colored with one color for each column.
Comment: For more information on (Column Names), see the Non-Column
Selections page.
Right-click on the Y-axis and select Multiple Scales from the pop-up menu.
Comment: By default, you will get one scale for each color that is defined under Color By.
You can also go to the Y-axis page in the Visualization Properties dialog and click the Multiple scales radio button. This is also where you change the settings for the different scales and determine whether a certain scale should be located on the left or the right Y-axis.
Comment: If you are using values from different columns on the various scales, you can also use drag and drop to move columns from one side to another.
Right-click on the visualization to display the pop-up menu.
Select Properties.
Go to the Lines & Curves page.
Select the check box for any of the default lines or click on Add to define a new horizontal or vertical line.
Comment: You can only add lines to the axes when they are in continuous mode. Right-click on the scale labels and select Continuous Scale from the pop-up menu.
Right-click on the visualization to display the pop-up menu.
Select Properties.
Go to the Lines & Curves page.
Click on Add and select a suitable curve fit from the drop-down menu.
Comment: You can select from a number of predefined curve fits, or define your own curve using Curve Draw. See Curve Fit Models for more information about the different options.
Once the curve has been created, you can change its settings on the Lines & Curves page. Some of the curve settings are also available from the pop-up menu in the visualization.
Right-click in the visualization to display the pop-up menu.
Select Properties.
Go to the Error Bars page.
In the Visible error bars list, select the column or measure to use, and select the check box next to it.
Response: The settings for the selected column or measure will be displayed in the lower part of the dialog.
Comment: Only columns and measures with numerical values are listed.
To define an upper error, choose a column or measure in the Upper error column selector. To define a lower error, choose a column or measure in the Lower error column selector.
Response: The defined error bars appear in the visualization.
Comment: Error bars can only be used on numerical values.
This is an example of how you can use a binary column containing image information to label the markers in a scatter plot. You can of course use regular text labels or a number of other settings instead. See the Scatter Plot Properties - Labels page for more information about your available labeling options.
Right-click in the visualization to display the pop-up menu.
Select Properties.
Go to the Labels page.
Select the column containing images under Label by.
Comment: This example assumes that you have the images available as a binary column in your current data table. If you intend to retrieve images via an information link you need to select an identifier column instead, and then use a different option under Get content from (e.g., Structure Column) to map the ID to the requested image.
Determine whether to Show labels for All rows, Marked rows or None.
If desired, modify the Max number of labels to limit the amount of shown labels further.
(If required, select an option under Get content from to convert the selected column values to another form of output. See the comment on step 4.)
Make sure that Show
as is set to Image (or whatever
the type of output is that you wish to display).
Comment: If you are running TIBCO Spotfire Lead Discovery and select
a Structure Column as the transform then you would typically select
a structure renderer here instead.
If desired, change the Size of the labels by dragging the slider.
This is an example of how you can use a binary column containing image information in the tooltip shown when hovering with the mouse pointer over the markers in a scatter plot. You can of course use regular text tooltips instead. See the Scatter Plot Properties - Tooltip page for more information about your available tooltip options.
Right-click in the visualization to display the pop-up menu.
Select Properties.
Go to the Tooltip page.
Click Add....
Response: The Add Tooltip Value dialog is displayed.
Select the Column containing images.
Comment: This example assumes that you have the images available as a binary column in your current data table. If you intend to retrieve images via an information link you need to select an identifier column instead, and then use a different option under Get content from (e.g., Structure Column) to map the ID to the requested image.
If desired, change the display Name.
(If required, select an option under Get content from to convert the selected column values to another form of output. See the comment on step 5.)
Make sure that Show
as is set to Image (or whatever
the type of output is that you wish to display).
Comment: If you are running TIBCO Spotfire Lead Discovery and select
a Structure Column as the transform then you would typically select
a structure renderer here instead.
If desired, change the Size of the labels by dragging the slider.
Select whether or not to Include value name in tooltip.
Click OK.
To create a new scatter plot:
Click on the New Scatter Plot button on the toolbar, .
Comment: You can also select Insert > New Visualization > Scatter Plot from the menu.
Response: A first attempt to set up a suitable scatter plot is made by the application.
Adjust the scatter plot to display the measures of your choice.
Comment: For more information about how to change what to show on the two axes, see Column Selectors.
See also: