Jsurf

バージョン 1.0.0.0 (1.38 KB) 作成者: J De Freitas
3D plot onto an arbitrary surface.
ダウンロード: 1.7K
更新 2005/10/20

ライセンスがありません

JSURF is similar in almost all respects to the standard SURF plot except that it admits a second matrix T of z-coordinates of size [m,n] that is used to plot over the base surface described by coordinates (x,y,z).

JSURF(x,y,z,T) plots the 3D surface T onto the surface described by (x,y,z). JSURF(x,y,z,-T) plots on the underside of the surface. The colour scale is determined by the range of T.

JSURF(...,'PropertyName','PropertyValue',...) sets the surface property values for the object.

h = JSURF(...) returns the handle to the plot object.

%Peaks riding on a Saddle
P = peaks(51);
[x,y] = meshgrid(-4:8/50:4,-4:8/50:4);
z = sqrt(10^2*ones(size(x)) - 1.2*x.^2 + 1.5*y.^2);
jsurf(x,y,z,P);
axis vis3d;
axis off;
set(gca,'DataAspectRatio',[1 1 1]);

This plot function was developed under version 7 of Matlab and no guarantees can be given for versions lower than this.

引用

J De Freitas (2024). Jsurf (https://www.mathworks.com/matlabcentral/fileexchange/8763-jsurf), MATLAB Central File Exchange. 取得済み .

MATLAB リリースの互換性
作成: R14SP1
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linux
カテゴリ
Help Center および MATLAB AnswersSurface and Mesh Plots についてさらに検索

Community Treasure Hunt

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

Start Hunting!
バージョン 公開済み リリース ノート
1.0.0.0