TernaryPlot.com

PricingFAQDocsLogin

Configuration

The plot configuration panel allows you to customize various aspects of the plot's appearance. You can access it by clicking the settings icon above the plot.

Labels show the values for each vertex of the triangle. You can customize their appearance in several ways.

By default, labels are positioned at the vertex of the triangle. When enabled, labels are positioned at the center of the axis rather than at the vertex.

The angle (in degrees) at which each label is displayed relative to its vertex. Adjust this to prevent label overlap or improve readability.

  • Positive angles rotate clockwise
  • Negative angles rotate counterclockwise
  • Default is A: 0, B: 60, C: -60

The distance each label is positioned from its vertex. Larger values move the label further from the vertex.

Control the size of the label text. This affects all vertex labels simultaneously.

The domains configuration allows you to control the orientation of the ternary plot.

When enabled, this option reverses the orientation of the plot by adjusting the angles of both labels and ticks:

  • Label A: -60° (instead of 0°)
  • Label B: 0° (instead of 60°)
  • Label C: 60° (instead of -60°)

The tick angles are adjusted similarly. This can be useful when you want to match a different convention for displaying ternary plots.

You can focus on a specific region of the plot by setting custom partial domains. This is useful when your data points are concentrated in a particular area and you want to show more detail.

To set custom partial domains:

  1. Click the "Interaction" button and select "Set domains"
  2. Use the "Domain length" slider to zoom in
  3. Click and drag the shaded triangle to position it over your area of interest
  4. Click "Confirm domains" to apply the changes

You can fine tune the domain boundaries in the domains section of the configuration panel.

Each axis (A, B, C) has a start and end value that determines what portion of that axis is shown. For example:

  • Domain length of 0.5 shows half of the full range
  • Start value of 0.2 begins the domain 20% along that axis
  • Values automatically snap to the nearest 1% for precision

To reset back to the full plot, click the "Reset domains" button or set the domain length back to 1.

Ticks are the marks and values shown along each axis of the plot.

Choose how many decimal places to display in tick values:

  • 0 decimals (e.g., 40%)
  • 1 decimal (e.g., 40.5%)
  • 2 decimals (e.g., 40.52%)
  • 3 decimals (e.g., 40.523%)

You can also choose between:

  • Decimal format (e.g., 0.405)
  • Percentage format (e.g., 40.5%)

Note: When using many ticks with decimal format, you may need to increase the number of decimals to avoid duplicate values.

Set how many ticks appear along each axis. The specified count is only a hint; the scale may return more or fewer values depending on the domain

The length of the tick marks extending from each axis.

Customize the color of the ticks for each axis independently.

The angle (in degrees) at which tick labels are displayed. Adjust this to prevent overlap or improve readability.

Control the size of the tick label text for each axis independently.

Gridlines help readers trace values across the plot.

Set the number of gridlines for each axis. This determines how fine the grid will be. The specified count is only a hint; the scale may return more or fewer values depending on the domain

Customize the color of the gridlines for each axis independently.

Control the line style of all gridlines.

You can choose from preset patterns or enter a custom one:

  • solid (default)
  • dotted small (1)
  • dotted (3 2)
  • dot-dash (10 3 4 3)
  • dot-dot-dash (10 3 4 3 4 3)
  • short-dashed (4)

Custom patterns can be specified using space-separated numbers that define the length of dashes and gaps in sequence. For example, "5 10" creates dashes of length 5 followed by gaps of length 10. See Dash for more information.

Configure the plot's background appearance.

Toggle whether the plot background should be transparent. This is useful when embedding the plot in documents or presentations.

Toggle whether to show an outline around the plot.

When enabled, ensures that no plot elements (points, labels, etc.) extend beyond the triangle boundaries.

Choose the color of the plot outline when outline is enabled.