I have 2 matrices:
X = [-1 -4 5 6] ;
Y = [3 20 300 2] ; % Always > 0
scatter(x,y,4^2)
Scatter by default is not forcing X and Y to cross at origin (0,0). Is there a way to do it? Please let me know.
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.
There is no built-in function that can do this.
If you don’t want to use the very basic tool provided with the above link, there are some good solution on the File Exchange, a simpler one and a more powerful one, though the latter uses some undocumented functionality.