I think the OP is talking about triangle mesh plots.
@DanielVandH take a look at Meshes.jl and MeshViz.jl if you are interested in triangulations and visualizations of these results. Voronoi-Delaunay triangulations are on the roadmap, but you have other packages out there that generate the connecti… Answer from juliohm on discourse.julialang.org
MathWorks
mathworks.com › matlab › mathematics › computational geometry › delaunay triangulation
triplot - 2-D triangular plot - MATLAB
triplot(T,x,y) plots the 2-D triangulation defined by the points in vectors x and y and a triangle connectivity matrix T.
MathWorks
mathworks.com › matlab › mathematics › computational geometry › triangulation representation
Triangulation Representations - MATLAB & Simulink
Use triplot to plot the triangulation.
Videos
Top answer 1 of 4
2
I think the OP is talking about triangle mesh plots.
@DanielVandH take a look at Meshes.jl and MeshViz.jl if you are interested in triangulations and visualizations of these results. Voronoi-Delaunay triangulations are on the roadmap, but you have other packages out there that generate the connecti…
2 of 4
1
There is one (and probably more) topic about this matter here in the forum (did a quick search but couldn’t find it/them). But see GMT example here.
MathWorks
mathworks.com › matlab › mathematics › computational geometry › spatial search
triangulation - Triangulation in 2-D or 3-D - MATLAB
triplot(TR) Examine the coordinates of the vertices of the first triangle. TR.Points(TR.ConnectivityList(1,:),:) ans = 3×2 1.0000 6.5000 2.5000 5.0000 2.5000 8.0000 · expand all · This function fully supports thread-based environments. For more information, see Run MATLAB Functions in ...
MathWorks
mathworks.com › matlab › mathematics › computational geometry › delaunay triangulation
trisurf - Triangular surface plot - MATLAB
This MATLAB function plots the 3-D triangular surface defined by the points in x, y, and z, and a triangle connectivity matrix T.
MathWorks
mathworks.com › matlabcentral › answers › 14991-3d-triplot
3d triplot - MATLAB Answers - MATLAB Central
September 2, 2011 - Hello, For 2D triangulation plot we have '_triplot_' , what is the command or how can we get 3D triangulation plot? ... Sign in to comment. Sign in to answer this question. ... Sign in to comment. ... I think you might be looking for tetramesh. Sign in to comment. Sign in to answer this question. Find more on Surface and Mesh Plots in Help Center and File Exchange ... Find the treasures in MATLAB Central and discover how the community can help you!
MathWorks
mathworks.com › matlabcentral › answers › 584900-how-to-color-triplot-faces
How to color triplot faces? - MATLAB Answers - MATLAB Central
August 26, 2020 - I managed to go around the problem by saving the points and connectivity list of triplot and I inserted an extra column of ones(m, 1) and use triangulation function to re-create the triangulation. Assuming that m is the length of your points. ... And after that you can use trisurf as usual to insert face colors. Sign in to comment. Sign in to answer this question. MATLAB Graphics 2-D and 3-D Plots Surfaces, Volumes, and Polygons Volume Visualization Vector Volume Data
MathWorks
mathworks.com › matlabcentral › answers › 590662-how-to-use-the-function-triplot-to-plot-an-stl-file-in-a-specific-axis-inside-app-designer
How to use the function triplot to plot an stl file in a specific axis inside App Designer? - MATLAB Answers - MATLAB Central
September 8, 2020 - Although the documentation for triplot and trisurf do not describe this name-value pair, it does work. In an app, you'd use something like app.UIAxes. Below is just a simple example to show the syntax. ... Sign in to comment. Sign in to answer this question. MATLAB App Building Develop Apps Using App Designer
Top answer 1 of 2
4
In your tri variable, the last vertex is the same as the first. That makes sense if you want the triangle to be closed when you use plot. Compare the following:
tri = [1 2 2; 1 2 -2]; %// just the three vertices
plot(tri(1,:), tri(2,:), 'linewidth', 1)
axis([0 3 -3 3])

tri = [1 2 2 1; 1 2 -2 1]; %// first vertex is repeated to "close" the plot
plot(tri(1,:), tri(2,:), 'linewidth', 1)
axis([0 3 -3 3])

2 of 2
0
As I was (hopefully right) informed from these unsufficiently cited data, I can judiciously assume that two dimensions of this array represent two axises, and data represents x, and y coordinates means your triangle passes through (exagerately) four verticles : (1,1),(2,2),(2,-2),(1,1) where the last one is reduplicated.
You can plot your triangular shape using this command:
triplot(delaunay(tri(1,1:3),tri(2,1:3)),tri(1,1:3),tri(2,1:3))

MathWorks
mathworks.com › matlab › mathematics › computational geometry › triangulations
trimesh - Triangular mesh plot - MATLAB
This MATLAB function plots the 2-D triangular mesh defined by the points in vectors x and y and a triangle connectivity matrix T.
MathWorks
mathworks.com › matlab › 数学 › 計算幾何学 › delaunay 三角形分割
2 次元三角形プロット - MATLAB triplot
triplot(T,x,y) は、ベクトル x およびベクトル y の点と、三角形連結行列 T によって定義される 2 次元三角形分割をプロットします。
Northwestern University
ece.northwestern.edu › local-apps › matlabhelp › techdoc › ref › delaunay.html
delaunay (MATLAB Functions)
rand('state',0); x = rand(1,10); y = rand(1,10); TRI = delaunay(x,y); subplot(1,2,1),... triplot(TRI,x,y) axis([0 1 0 1]); hold on; plot(x,y,'or'); hold off · Compare the Voronoi diagram of the same points: [vx, vy] = voronoi(x,y,TRI); subplot(1,2,2),... plot(x,y,'r+',vx,vy,'b-'),... axis([0 1 0 1]) Example 2.
Top answer 1 of 3
3
This link is important for your question:
https://www.mathworks.com/help/matlab/math/delaunay-triangulation.html
2 of 3
0
need to identify corresponding points, and define the same triangles in the two point sets. it might be useful in establishing triangles in the base model, but then you need to transfer those based on point correspondences to the other point set
MathWorks
mathworks.com › matlabcentral › answers › 383510-contour-plot-with-function-triplot
Contour plot with function triplot - MATLAB Answers - MATLAB Central
February 19, 2018 - Open in MATLAB Online · Hi all, I have a script which plots a structure: clear; clc; clf; % nodal coordinates. coord = [0 0; 1 0; 2 0; 3 0; 0 1; 0.5 1; 1.5 1; 2.5 1; 3 1]; % connectivity. conne = [1 6 5; 1 2 6; 2 7 6; 2 3 7; 3 8 7; 3 4 8; 4 9 8]; % y-displacements · ydis = [0 0 0 0 0.1 0.2 0.3 0.2 0.1]'; % y-deformed coordinates · coord_dis = [coord(:, 1) coord(:, 2) - ydis]; % plot the structure. triplot(conne, coord_dis(:,1), coord_dis(:,2)); axis equal ·