You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
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.
Cite As
John Kearns (2026). Plot Projections - Project curves on axis boundaries in view (https://se.mathworks.com/matlabcentral/fileexchange/132268-plot-projections-project-curves-on-axis-boundaries-in-view), MATLAB Central File Exchange. Retrieved .
Acknowledgements
Inspired by: SHADOWPLOT, Iso2Mesh
General Information
- Version 1.0.1 (402 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
