Draws a simple pine tree.


Updated 12 Dec 2015

View License

% function drawPineTree(x,y,h)
% This function is used to draw a pine tree, with trunk at position (x,y),
% with the desired height (h). It is used for giving a scale to a figure.

Cite As

Matthew Kelly (2023). drawPineTree(x,y,h) (https://www.mathworks.com/matlabcentral/fileexchange/54433-drawpinetree-x-y-h), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2012a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes

Added a photo. Changed file name to make clear that this is drawing a pine tree for scale, rather than drawing a data structure.