SHADOWPLOT

版本 1.2.0.0 (4.0 KB) 作者: Michelle Hirsch
Add a shadow to an existing surface plot.
6.8K 次下载
更新时间 2024/2/7

编者注: This file was a File Exchange Pick of the Week

SHADOWPLOT Add a shadow to an existing surface plot

For some surface plots, it can be helpful to visualize the shadow (2D projection) of the surface. This can give a quick perspective on the data's variance.

SHADOWPLOT PLANE Adds a shadow plot on the PLANE boundary
PLANE can be:
x, y, or z: Plots on back/top wall of x, y or z
1 .. 6 : Plots on Nth wall, numbered as in AXIS:
[xmin xmax ymin ymax zmin zmax]

SHADOWPLOT(HAX,PLANE) Adds a shadow plot on the Nth wall on axes HAX
HS = SHADOWPLOT(...) Returns a handle to the shadow (a patch)

Examples:
figure
surf(peaks)
shading interp
shadowplot x % Back X Wall
shadowplot y % Back Y Wall

引用格式

Michelle Hirsch (2024). SHADOWPLOT (https://github.com/michellehirsch/MATLAB-Shadowplot), GitHub. 检索来源 .

MATLAB 版本兼容性
创建方式 R14SP1
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Surface and Mesh Plots 的更多信息

Community Treasure Hunt

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

Start Hunting!

无法下载基于 GitHub 默认分支的版本

版本 已发布 发行说明
1.2.0.0

Moved code to GitHub.

1.1.0.0

Updated copyright.

1.0.0.0

Now includes limited support for data inside of HGTRANSFORMS. Thanks to Patrick Barney for this enhancement.

要查看或报告此来自 GitHub 的附加功能中的问题,请访问其 GitHub 仓库
要查看或报告此来自 GitHub 的附加功能中的问题,请访问其 GitHub 仓库