Canadian Flag

Draws the Canadian flag within an existing axes

You are now following this Submission

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://uk.mathworks.com/matlabcentral/fileexchange/1340-canadian-flag), MATLAB Central File Exchange. Retrieved .

Categories

Find more on Country Flags in Help Center and MATLAB Answers

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0