plot_square

Produces coordinates of a square for matrix usage.
2.8K Downloads
Updated 24 Dec 2003

View License

Given a center and a radius, this program produces the coordinates of a square whether hollow or solid. This program is especially useful for drawing squares around circles. The result is a set of coordinates that is suitable for use to produce the square shape on a matrix.

Cite As

Alister Fong (2024). plot_square (https://www.mathworks.com/matlabcentral/fileexchange/4298-plot_square), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R12
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Images in Help Center and MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.0.0.0