# Search Results

Results for ternary tagged with
19 results

Questions on creating visualizations from functions or data using high-level constructors such as Plot, ListPlot, Histogram, etc.

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 example … . These are examples of ternary diagram : https://www.google.com/search?q=ternary+diagram&safe=active&source=lnms&tbm=isch&sa=X&ved=0ahUKEwiv37DH_-7bAhWBGhQKHTPjCYMQ_AUICigB&biw=1920&bih=1089 …
asked Jun 25 '18 by J.A
ternary frame*) triangle = triangles[50]; (*acenters and acentroids match in this case*) acoords = Table[triangle[[i]][[1]], {i, 1, Length[triangle]}]; acenters = Table[Mean[acoords[[i]]], {i, 1 … -unstructured-mesh-of-hexahedral-cells/1474#1474 I'm trying to recreate the following histogram module in R (https://stackoverflow.com/questions/26221236/ternary-heatmap-in-r): cloud = RandomReal[{0, 1}, {1000 …
Owing to xzczd, I could make ternary plot with the following code: r[AA_, BB_, CC_] := 4 Sin[AA/2] Sin[BB/2] Sin[CC/2]; old = {{0, 0}, {Pi, 0}, {0, Pi}}; begin = {{0, 0, 0}, {Pi, 0, 0}, {Pi/2, Sqrt … vain to make ternary plot of the following minimum value function: R1[AA_,y_,z_]:=Sqrt[y^2+z^2+2y z Cos[AA]]/Sin[AA]; R2[BB_,z_,x_]:=Sqrt[z^2+x^2+2z x Cos[BB]]/Sin[BB]; R3[CC_,x_,y_]:=Sqrt[x^2+y^2+2x …
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 basic approach in the post How to plot ternary density plots answers with the use of FindGeometricTransform … . How can I transform the Plot3Ded function inside the equilateral triangle with FindGeometricTransform? If there is a simpler method, I would like to know it. An example of ternary 3D plot of a …
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 … equation (2) and substitute the resulting expression in (1), then I obtain the following: Abs[b - a] == (2 - 2 (1 - a - b))^0.35 Questions: a) Is this expression equivalent to the equations (1) and (2)? b) How do I plot the curve (1) subjected to (2) in a ternary form? …
asked Nov 20 '14 by Ana S. H.
How can I get a ternary density plot just like the plots from OriginLab? ContourPlot and DensityPlot seemingly can accept the [f, {x}, {y}]-style，but cannot accept the [f, {x},{y}, {z}]-style. …
asked Jan 3 '14 by Scott Wang
I have been making ternary plots of data that is a list of sets of 3 numbers, where the numbers in each set sum to one (call this "DATA"). To do this, I first transform DATA onto the 2D surface with …
asked Aug 15 '14 by jmbierna
I have these data and want to draw similar fifures in mathematica. any one can help me? x1={0.7992,0.6902,0.6133,0.4953,0.3965,0.2934,0.1968,0.1044,0.692,0.5961,0.4954,0.3961,0.2899,0.1957,0.137,0.59 …
I want to plot a barycentric function on an equilateral triangle (ternary plot). For example f1 = {Abs[Sin[x]], Mod[x, 2], Abs[Cos[x]]}; At the moment I evaluate a list of data points and join …
asked Apr 20 '12 by Margus
RHS in the figure above and the position and the shape of the region change accordingly. This would be the first step to make a ternary RegionPlot. …
asked Apr 21 '14 by wdg
Transforming ternary data (x1,x2,x3) to carthesian (x,y) Wikipedia gives a nice formula for transforming ternary data to cartesian data here(cf. "Plotting a Ternary plot"). This can be used to build … , x3 }; Adding the z-component again and plotting We now add the z-component to have (x,y,z)-Data for plotting. xyzData = ( xyData // Transpose ) ~ Join ~ {z} // Transpose; With[ { x1 …
answered Jun 30 '16 by gwr
Here's a start. Grab some sample data for a trajectory from this excellent python package, and examine it in 3D: data=Import["https://raw.githubusercontent.com/marcharper/python-ternary/master … /sample_data/curve.txt","Table"]; ListPointPlot3D@data The way the data is constructed, you have a set of triples, where the sum of each triple is 1.0. In a ternary plot, these numbers, which …
answered Mar 10 '17 by Jason B.
I chose to start my solution from ternary points as opposed to a plot in cartesian points. My concern with the latter route is that 1 of the axes (the hypotenuse of the original triangle) is larger … than the x and y axes and therefore is transformed differently from these two axes. First, the meat of the transformation; I find the transformation function to convert a ternary point to a point on …
answered Jan 4 '14 by bobthechemist
For this particular setup and aiming to produce ternary plot that represents game: tp[c_, a_, b_] := {b + c/2, Sqrt[3] c/2}/(a + b + c) h1 = Table[Line[{tp[j, 0, 8 - j], tp[j, 8 - j, 0]}], {j, 0, 7 …
answered Jun 8 '15 by ubpdqn
}]; then transform to a ternary figure: Graphics[{Line[{{0, 0}, {1, 0}, {1/2, Sqrt[3]/2}, {0, 0}}], Point[{#[[2]] + #[[3]]/2 , Sqrt[3]/2 #[[3]] } & /@ #] & /@ dat}] Edit -- same thing …
answered Nov 20 '14 by george2079

15 30 50 per page