here is my code
Plot Probability of three different scale in the same axis
5 views (last 30 days)
Show older comments
I am doing this for the first time. I am trying to have three different scale in the y axis for the Probability which have varied number start from 0.001 to 0.999. Basiclly, I am trying to mimic figure in the attached image. Also, data is attatched.
2 Comments
Scott MacKenzie
on 18 Mar 2022
You can use yyaxis to get two y-axis with different scales in the same plot. Not sure about three.
Answers (1)
Prince Kumar
on 31 Mar 2022
Hi,
Please refer to the following answers
- https://www.mathworks.com/matlabcentral/answers/601147-extending-specific-y-axis-values
- https://www.mathworks.com/matlabcentral/answers/223087-how-to-get-different-scales-on-the-same-axis
Hope this helps!
0 Comments
See Also
Categories
Find more on 2-D and 3-D Plots in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!