How to get smoother color using 3D data with colors using 'trisurf'?
14 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
MathWorks Support Team
el 27 de Mayo de 2020
Respondida: MathWorks Support Team
el 27 de Mayo de 2020
I have 4D data (3D (X, Y, Z) and color (C) data) which I use to plot with 'trisurf' function. The colors obtained for the surface using the same color data is not matching with what is received using 'scatter3'. How can I get smoother color results?
Respuesta aceptada
MathWorks Support Team
el 27 de Mayo de 2020
You can use the 'boundary' function. Following steps can achieve the desired functionality:
K = boundary(X, Y, Z, 0.7);
figure;
trisurf(K,X,Y,Z,C,'EdgeColor','none')
title('Using Boundary function')
axis equal
For more information about this function, refer to the following documentation link:
0 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Audio and Video Data en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!