Skip to main content

Questions tagged [ternary-diagram]

Topics linked to ternary diagrams produced, for example, using the `pgfplots.ternary` library.

Filter by
Sorted by
Tagged with
0 votes
1 answer
88 views

How to plot ternary heatmap from .csv data?

I am trying to plot a ternary heatmap using the ternaryaxis environment. This is supposed to plot a variable over three factors that go from 0 to 100. The code I am using is the following: \...
Kaza123's user avatar
3 votes
2 answers
189 views

pgfplots: how to connect points in a ternary plot with stealth/quiver

Suppose I have the classical example of a ternary plot in the PGFPlots.net website https://pgfplots.net/ternary-diagram-density-map/. The LaTeX code can be found below with small modifications to the ...
VivMendes's user avatar
  • 131
1 vote
0 answers
69 views

Use data file in PGF ternary plot [closed]

I want to plot a ternary diagram and I have a data set of 4 different values. 3 vol.% for making the point on the diagram and one which is the specific refractive indices at these concentrations. The ...
heisenberg_px's user avatar
2 votes
1 answer
230 views

PGF Plots Ternary Diagram - Undefined control sequence

I am going through the PGFPLOTS manual and copied the first code example from Section 5.13 Ternary Diagrams which I have placed into a document on overleaf.com. The code is as follows: \documentclass{...
niko86's user avatar
  • 23
0 votes
1 answer
154 views

Reversing axis of ternary diagram

Is it possible to reverse an axis in a ternary diagram? The command x dir=reverse does not seem to work: Here is a minimal working example: the result is the same with or without this option. \...
Tobard's user avatar
  • 1,211
4 votes
1 answer
821 views

Reverse Axes of pgfplots Ternary Plot

I am trying to make a ternary plot, however the default axis is opposite of what I need to accomplish. Here is an example: \documentclass{standalone} \usepackage{pgfplots} \pgfplotsset{compat=1.9} \...
archibald's user avatar
5 votes
0 answers
2k views

Flip x and y axis of ternary graph

I am trying to reproduce the USDA Soil Triangle. To do so, I would need to flip the x and y axis of the default pgfplots-ternary. I understand, that I could switch my inputs (don't really want to do ...
Raphael's user avatar
  • 308
7 votes
1 answer
2k views

Crop ternary plot

I want to crop the top part of the ternary plot given below at x = 0.7 because I don't have any datapoints in that region and want to save space. How can I do this? \documentclass{standalone} \...
Lars Klemet Jakobsson's user avatar
4 votes
1 answer
425 views

Ticks misaligned in ternary plot

I am using TikZ for ternary plots and have problems with a misalignment of ticks after changing the axis range. An example is given below where ymax is set to 0.8 but actually seem to get a maximum ...
Lars Klemet Jakobsson's user avatar
3 votes
1 answer
452 views

Ternary plot: points outside of the triangle

although my test data points are all inside the (0,0,1),(0,1,0),(1,0,0) triangle, my ternary plot unexpectedly plots some of them outside of the triangle. \documentclass{beamer} \usepackage{pgfplots}...
kutschkem's user avatar
  • 267