How do I find the minimum and maximum of the axis in a MATLAB plot?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Here’s how you can do it for the current axes (i.e.
gca):Each variable above will be a 1-by-2 array containing the minimum and maximum values for the respective axis. You can check the documentation on axes properties for more information.