go from plot3 to a surf plot

In parallel.png the function plot3(x,y,z) is used to create the figure. Is it possible the get the outer shell from the fist figure inorder to create a figure that is similar to asdasd.png?

回答 (1 件)

KSSV
KSSV 2016 年 5 月 31 日

0 投票

If the data is arranged in order in matrix form....you can plot the surface using "surf". Check the documentation for surf.

2 件のコメント

Niklas
Niklas 2016 年 5 月 31 日
Do you mean surf(x,y,z)? because that do not work because z can't be a vector
KSSV
KSSV 2016 年 5 月 31 日
what are the dimensions of x,y,z you have?

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

カテゴリ

質問済み:

2016 年 5 月 31 日

コメント済み:

2016 年 5 月 31 日

Community Treasure Hunt

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

Start Hunting!

Translated by