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.
Denis Gilbert (2022). Canadian Flag (https://www.mathworks.com/matlabcentral/fileexchange/1340-canadian-flag), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!