Equalize x-y axis limits
Version 1.0.0 (2.88 KB) by
Guillaume Talbot
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.
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 LinuxTags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0 |