Plot Projections - Project curves on axis boundaries in view

版本 1.0.1 (401.9 KB) 作者: John Kearns
plotproj(s) plots the XY, XZ,& YZ projections of s on the boundaries of the current axes. Boundaries behind s are automatically identified.
18.0 次下载
更新时间 2023/7/21

查看许可证

Plot Projections
plotproj(s) plots XY, XZ, & YZ projections of s on the axis boundaries. Boundaries for plots are automatically identified from the current axis view. As such, plotproj(s) always places the projections behind the projected curve s. See demo script for illustration of this feature.
plotproj can accept plot parameters for each projection using similar commands to plot.
plotproj will automatically adjust the axes object to add the projections to the plot, even if hold is off (ax.NextPlot = 'replace').
plotproj is has a version of my other function 'viewvec' built in. If you want to use that function independently, it is available here.
Function is inspired by (and much simpler than...) 'shadowplot' by Michelle Hirsch.

引用格式

John Kearns (2024). Plot Projections - Project curves on axis boundaries in view (https://www.mathworks.com/matlabcentral/fileexchange/132268-plot-projections-project-curves-on-axis-boundaries-in-view), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2023a
兼容任何版本
平台兼容性
Windows macOS Linux
致谢

参考作品: SHADOWPLOT, Iso2Mesh

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.0.1

Fixed minor issue regarding whether "hold on" was already activated. Now runs without errors regardless of whether "hold on" or "hold off" is active.

1.0.0