Linked Questions

2 votes
1 answer
2k views

Plot a trajectory in a simplex [duplicate]

I would like to plot the make-up of a population over time as it changes its composition. For this, I'd like to make a simplex plot, a classic method in some fields - such as this example from a paper ...
Sprog's user avatar
  • 179
2 votes
1 answer
1k views

How to plot curves in ternary plot (triangular plot) [duplicate]

I need to plot the following curve in a triangular (ternary) plot: $$|x_{BB}-x_{AA}|=(\sigma_c-2x_{AB}+1)^{\gamma}, \qquad (1)$$ subjected to the condition (this condition must satisfy for a ternary ...
Ana S. H.'s user avatar
  • 433
46 votes
8 answers
7k views

How to plot contours on the faces of a cube?

I'm trying to plot contours of a function f[x,y,z] on the faces of a cube as the example below, which represents the domain of this function. Is there a way to do ...
RaphaelDavid's user avatar
22 votes
2 answers
2k views

How can I create an advanced grid interface?

Working on a CDF for report creation, I miss having a nice grid interface, where I would have basic operations like being able to sort a columns by clicking on the columns head (ascending and ...
Murta's user avatar
  • 26.3k
25 votes
1 answer
2k views

Fast DensityPlot

Is it possible to increase the performance of the DensityPlot? For example, let's try to plot the following "flower" ...
ybeltukov's user avatar
  • 43.7k
14 votes
2 answers
1k views

Diagonal Tick Marks

I would like to draw diagonal tick marks around a plot, and simultaneously rotate the tick labels as well. I've mocked up what this would look like: Is there an easy way to do this in Mathematica? I ...
Guillochon's user avatar
  • 6,117
4 votes
3 answers
621 views

How to ternary Plot3D a function

I ploted 3D the function Sin[A/2]Sin[B/2]Sin[C/2] with A, B, C > 0 and A + B + C = Pi. A ...
seiichikiri's user avatar
3 votes
2 answers
1k views

region plot in a 2-simplex

I want to plot a 2-dimensional region with constraint $x+y\le N$, i.e., I want to plot a sub-region inside a 2-simplex. As an example: ...
wdg's user avatar
  • 1,189
7 votes
3 answers
969 views

How can I draw ternary plot by these data?

I have these data and want to draw similar fifures in mathematica. any one can help me? ...
Mohammad Almasi's user avatar
7 votes
1 answer
637 views

How to conveniently plot 3-category Dirichlet data in equilateral triangle instead of 2-simplex

I'm wondering if there's something in Mathematica similar to the built-in function in R shown in the figures below, borrowed ...
Lee David Chung Lin's user avatar
4 votes
2 answers
292 views

Manipulate Controller - Simplex

Imagine you have three numbers a, b and c, and using ...
LBogaardt's user avatar
  • 1,595
2 votes
1 answer
2k views

Adding code comments to a module [closed]

What is the best way to comment a long Module? For linear flowing calculations that need not be organised in modules, I usually mix text and math. But how can I do that inside a module, or block, or ...
yarchik's user avatar
  • 18.3k
1 vote
1 answer
1k views

How to map a 2D figure into the 3D plane?

I have several 2D figures, and now I want to map them into the 3D space plane, the picture below shows my idea. The figure above was made by maping texture of the 2D plot on the 3D plane and the idea ...
Ice0cean's user avatar
  • 813
7 votes
1 answer
402 views

3D Ternary Plot - Triangular Prism?

I'm new to Mathematica and I am using it as a free trial online. I am doing a biology experiment, varying the composition of people's diet and seeing the effect of that on sleep. Because I am varying ...
Rushi's user avatar
  • 203
9 votes
0 answers
356 views

How can I add column-rearrangement-by-mouse-dragging to my dataset display function?

A subject that I seem to take at heart... I was expecting an upgrade of the default Dataset display in MMA 10.3.1. It did not happen. Among the features I would have liked to see improved is a better/...
Trad Dog's user avatar
  • 450
12 votes
0 answers
278 views

Plotting extra parametric axes [closed]

We are trying to plot a figure as below from data points. This version is a postprocessed plot (in Illustrator) just to obtain the skew axes. The rest is plotted with ...
Jan G. Korvink's user avatar
1 vote
0 answers
424 views

Ternary diagram

I'd like to make a RegionPlot on a ternary diagram, meaning in a triangle where the axis are $x,y,z$, which are related by $x+y+z=1$. The RegionPlot would have as a condition $x^2+y^2<1$ for ...
J.A's user avatar
  • 1,265
3 votes
2 answers
147 views

Programming a Colour Blend

Huge thanks to those who have helped me find my footing especially to @bRost03 who did the programming below. I hope you guys don't mind if I clarify one thing about the programming - I think I have ...
Rushi's user avatar
  • 203
2 votes
1 answer
115 views

Geometric transform of a plot with legends and title

I'm doing a ternary phase diagram, so I want to plot it in a triangle and not in a square. If I'm doing the transformation with legends it doesn't work, but if I don't put legends it does work. Why ...
J.A's user avatar
  • 1,265