I am plotting points in a ternary diagram using pgfplots
and the ternary axis environment.
Each point does posses a 4th value (besides the 3 that are the coordinates). At the moment I am stating this 4th value as a node next to each plotted point. This comes with the problem that the minima/maxima of this value is not easy to spot as well as it is hard to read general trends. Also nodes can't reach outside of the ternary axis which leads to inconsistency with labeling points close to the axis.
I would like to have the points coloured according to their value (i.e. a value of 5 would be blue, 7.5 would be yellow and 10 would be red) this should be done gradually of course. Ideally I would like to have a fully coloured map with the space between the points interpolated.
Does anyone know of a way or at least a workaround to have the points coloured according to their 4th value?
Image:
LaTeX source:
nodes near coords
example with colored markers.