As a transitional step, this site will temporarily be made Read-Only from July 8th until the new community launch. During this time, you can still search and read articles and discussions.
While the community is read-only, if you have questions or issues requiring TIBCO review/response, please access the new TIBCO Community and select "Ask A Question."
You will need to register or log in or register to engage in the new community.
Ternary Plot Mod for TIBCO Spotfire®
Visualize compositional data in a three-dimensional case.
Compatible Products
TIBCO Spotfire®
Provider
TIBCO Software Inc.Compatible Versions
License
BSD
Overview
The ternary plot is a barycentric plot on three variables which sum to a constant. It graphically depicts the ratios of the three variables as positions in an equilateral triangle.
It is often used in physical chemistry, petrology, mineralogy, metallurgy, and other physical sciences to show the compositions of systems composed of three species.
Try this mod in TIBCO Spotfire® Analyst
Click the Download button and follow the instructions below the button to open the mod in Spotfire Analyst.
How to open the mod
- Open Spotfire® Analyst, and create an analysis by loading some data.
- Unzip the downloaded file, and locate the .mod file in the unzipped folder.
- Drag the file into the analysis.
- The visualization mod is added to the analysis.
- To learn more about the capabilities and limitations of this visualization mod, see also the Reference Info tab or the User Guide which is also located in the downloaded folder.
For general information on how to use and share visualization mods, read the Spotfire documentation.
Data requirement
To make the ternary plot mod work properly, the underlying data must be formatted in a certain way, with three numerical columns each representing different parts of a whole, per row.
Help and support
Please note that this Mod for TIBCO Spotfire® is not supported through support.tibco.com. In the event of issues or to get help or to suggest enhancements, please post a comment in the mod's wiki page.
Release(s)
1.0.0 (Spotfire 11.4 LTS and later)
Published: June 2022
Initial release.
Ternary Plot Mod for TIBCO Spotfire®
Version 1.0.0, released June 2022
The ternary plot is a barycentric plot on three variables which sum to a constant. It graphically depicts the ratios of the three variables as positions in an equilateral triangle.
It is often used in physical chemistry, petrology, mineralogy, metallurgy, and other physical sciences to show the compositions of systems composed of three species.
Try this mod in TIBCO Spotfire® Analyst
Click the Download button and follow the instructions below the button to open the mod in Spotfire Analyst.
How to open the mod
- Open Spotfire® Analyst, and create and analysis by loading some data.
- Unzip the downloaded file, and locate the .mod file in the unzipped folder.
- Drag the file into the analysis.
- The visualization mod is added to the analysis.
- To learn more about the capabilities and limitations of this visualization mod, keep reading or see the User Guide which is also located in the downloaded folder.
For general information on how to use and share visualization mods, you can read the Spotfire documentation.
Data requirement
Every mod handles missing, corrupted and/or inconsistent data in different ways. It is advised to always review how the data is visualized.
To make the ternary plot work properly, the underlying data must be formatted in a certain way, with three numerical columns each representing different parts of a whole, per row.
The ternary plot assumes that values for each marker, across bottom (B), left (L) and right (R) axis are a share of something normalizable to a SUM of B + L + R = 100% and the coordinates will be normalized as such.
Setting up the ternary plot
In this example dataset, we have four columns: Sample, Quartz, Felspar, Lithics
Sample | Quartz | Felspar | Lithics |
---|---|---|---|
Sample 1 | 100 | 0 | 0 |
Sample 2 | 20 | 50 | 30 |
Sample 3 | 40 | 20 | 40 |
Sample 4 | 10 | 40 | 50 |
Sample 5 | 0 | 100 | 0 |
Sample 6 | 10 | 0 | 90 |
Sample 7 | 33.3 | 33.3 | 33.3 |
Sample 8 | 60 | 15 | 25 |
In the ternary plot configuration in Spotfire, we would specify the 'Felspar' column as Bottom axis, 'Quartz' columns as Left axis and 'Lithics' column as Right axis. We can also use the 'Sample' column as our Color by axis.
The end result will look something like this:
Configuring the ternary plot
Once the ternary plot has data provided, you can configure when to show or hide axis labels. The setting is accessed in Editing mode by clicking the settings button on the top right corner of the visualization.
Using the ternary plot
The ternary plot supports marking data and filtering data. Clicking on a marker will mark it. The ternary plot also allows marking of multiple markers using rectangular marking; whilst holding down the mouse click and dragging the cursor across the chart, you can mark one or multiple markers.
To unmark all marked markers, just click the background of the visualization canvas area.
Help and support
Please note that this Mod for TIBCO Spotfire® is not supported through support.tibco.com. In the event of issues or to get help or to suggest enhancements, please post a comment in this TIBCO Community Wiki page.
More information about TIBCO Spotfire® Mods
- Spotfire® Mods on the TIBCO Community Exchange: A safe and trusted place to discover ready-to-use mods
- Spotfire® Mods Developer Documentation: Introduction and tutorials for mods Developers
- Spotfire® Mods by TIBCO Spotfire®: A public repository for example projects
< Back to the Ternary Plot Mod page on TIBCO Community Exchange