Plot of 3D Matrix

Ive created a matrix of velocities for various positions along a square section in 3d. I would like to plot these velocities preferably with colours showing the velocity at each position, how would I go about doing this?

回答 (2 件)

Honglei Chen
Honglei Chen 2012 年 2 月 22 日

0 投票

You can mesh or surf
doc mesh
doc surf

1 件のコメント

kicks66
kicks66 2012 年 2 月 22 日
The matrix is a 3d matrix of size 100x100x200 so surf or mesh wont work. Id like a plot of size 100x100x200 with each node having a colour relating to its velocity.

サインインしてコメントする。

Sean de Wolski
Sean de Wolski 2012 年 2 月 22 日

0 投票

doc isosurface
doc patch
and perhaps
doc quiver3
doc coneplot

2 件のコメント

kicks66
kicks66 2012 年 2 月 22 日
None of these work. I effectively want a scatter graph with the coordinates being the i,j,k of the points in the matrix and their colour being the value of the matrix at i,j,k.
Sean de Wolski
Sean de Wolski 2012 年 2 月 22 日
so scatter3 should work.

サインインしてコメントする。

カテゴリ

タグ

質問済み:

2012 年 2 月 22 日

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by