How to display graph with values on the left side and values on the right side
2 views (last 30 days)
Show older comments
I need to display this kind of graph with values of wolves on the left side, and values of elks on the left side. Any help will be appreciated, sorry for my english.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/153936/image.png)
0 Comments
Accepted Answer
the cyclist
on 15 Jun 2016
Edited: the cyclist
on 15 Jun 2016
2 Comments
the cyclist
on 15 Jun 2016
Edited: the cyclist
on 15 Jun 2016
I don't understand what you are asking for here. Here is an example from the documentation. Maybe you can figure out how to plot your own data, using this example.
x = linspace(0,10); y = sin(3*x); yyaxis left plot(x,y)
z = sin(3*x).*exp(0.5*x); yyaxis right plot(x,z) ylim([-150 150])
![](/matlabcentral/answers/uploaded_files/54343/test.png)
More Answers (1)
Neel Shah
on 1 Nov 2019
how do i write on both side of the graph
like on left and right side of the graph
0 Comments
See Also
Categories
Find more on Directed Graphs 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!