Equalize x-y axis limits

Quickly set the x and y axis limits to be the same for a given axis. Can be used with a single or multiple axis.
10 Downloads
Updated Thu, 06 Oct 2022 18:36:57 +0000

View License

This function cas be used to quickly set the x and y axis limits to be the same for a given axis. For example, this can be useful in scatterplots to assess the relationship between the independent and the dependent variables, or qq-plots.
In the case you have multiple subplots on one figure, this function can be used to a) treat each subplot separately, or b) use common limits for all subplots

Cite As

Guillaume Talbot (2024). Equalize x-y axis limits (https://www.mathworks.com/matlabcentral/fileexchange/118700-equalize-x-y-axis-limits), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2018a
Compatible with any release
Platform Compatibility
Windows macOS Linux

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