A christmas tree plot

Version (2.8 KB) by Anselm
A Small piece of code that constructs a coloured christmas tree with some presents and snow.
Updated 17 Dec 2008

View License

Editor's Note: This file was selected as MATLAB Central Pick of the Week

I'm fairly new to matlab, but my lecturer suggestet we should try around a bit. Here is one of the more playful results. Just right for next week this code creates some christmasy shapes and makes a 3D plot. Nothing sophisticated, but i thought it was worth sharing... Thanks to Peter Gruber, my lecturer who suggested to upload it and helped with some improvements.

Happy Holidays


Cite As

Anselm (2024). A christmas tree plot (https://www.mathworks.com/matlabcentral/fileexchange/22478-a-christmas-tree-plot), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2008a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Find more on Christmas / Winter in Help Center and MATLAB Answers

Inspired: Let it snow: falling snow on every figure!

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes