creating a surf plot

2 ビュー (過去 30 日間)
Dany
Dany 2012 年 11 月 26 日
hi, i have a problem with the surf() function. if i have a 4*4 data matrix and im using the surf function i get a plot area divided to squers, but its a 3*3 area. how do i keep it in the original dimentions?
thank you for your help.

回答 (2 件)

Jan
Jan 2012 年 11 月 26 日
The surface is defined by the points of the corners. If you have 2 corners in each direction, you get 1 surface object. With 4x4 corners you get 3x3 surface elements. There is no way to exceed this behavior.

Dany
Dany 2012 年 11 月 26 日
so is there a way to do it with a different function? so i will maintain the original grid size?

カテゴリ

Help Center および File ExchangeSurface and Mesh Plots についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by