How can I surface plot a 1000x2 matrix?
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Gri Sch
el 26 de Feb. de 2021
Respondida: Steven Lord
el 26 de Feb. de 2021
If we assume I have a 1000x2 matrix generated using:
A = randn(1000,2);
How can I surface plot that A matrix to achieve a result similar to this image:
0 comentarios
Respuesta aceptada
KSSV
el 26 de Feb. de 2021
Editada: KSSV
el 26 de Feb. de 2021
A = randn(1000,2);
hist(A(:))
hist(A)
Más respuestas (1)
Steven Lord
el 26 de Feb. de 2021
What does the data represent? X and Y coordinates of the points? If so where's the Z data?
Or do you have a long, thin sheet of paper and the data represents the height of points around the edges of that sheet?
x = [1 2 4 8; 0 3 3 9];
surf(x)
0 comentarios
Ver también
Categorías
Más información sobre Surface and Mesh Plots en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!