SHADOWPLOT

Add a shadow to an existing surface plot.
6,8K Downloads
Aktualisiert 7 Feb 2024

Anmerkung des Herausgebers: 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

Zitieren als

Michelle Hirsch (2024). SHADOWPLOT (https://github.com/michellehirsch/MATLAB-Shadowplot), GitHub. Abgerufen .

Kompatibilität der MATLAB-Version
Erstellt mit R14SP1
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS Linux
Kategorien
Mehr zu Surface and Mesh Plots finden Sie in Help Center und MATLAB Answers

Community Treasure Hunt

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

Start Hunting!

Versionen, die den GitHub-Standardzweig verwenden, können nicht heruntergeladen werden

Version Veröffentlicht Versionshinweise
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.

Um Probleme in diesem GitHub Add-On anzuzeigen oder zu melden, besuchen Sie das GitHub Repository.
Um Probleme in diesem GitHub Add-On anzuzeigen oder zu melden, besuchen Sie das GitHub Repository.