Canadian Flag
Version 1.0.0.0 (2.81 KB) by
Denis Gilbert
Draws the Canadian flag within an existing axes
Draws the Canadian flag within an existing axes or within a new figure if no input arguments are provided.
Input arguments allow the user to specify the location of the lower left corner of the flag within an existing axes. The width of the flag is specified in native x-axis units. The height of the flag is then internally calculated in such a way that the standard 2:1 ratio of flag width to flag height (in terms of numbers of pixels) is enforced regardless of the existing axes' DataAspectRatio.
Cite As
Denis Gilbert (2026). Canadian Flag (https://nl.mathworks.com/matlabcentral/fileexchange/1340-canadian-flag), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R12.1
Compatible with any release
Platform Compatibility
Windows macOS LinuxTags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 |
