Plot graph with given points and two y-axes

How to plot a graph with given points wolves[73,76,82,106,93,56,79,98,55,40] and elks[13500,12000,9000,8300,9000,9200,6700,6200,7000,5500]. As an example:
I took points from beginning 00-01 time period. And it would be good if the program runs in old versions of Matlab.

답변 (1개)

KSSV
KSSV 2016년 6월 17일

0 개 추천

x = 0:0.01:20;
y1 = 200*exp(-0.05*x).*sin(x);
y2 = 0.8*exp(-0.5*x).*sin(10*x);
figure % new figure
plotyy(x,y1,x,y2)
But the documentation say's this is not recommended. http://in.mathworks.com/help/matlab/ref/plotyy.html

댓글 수: 1

Dos
Dos 2016년 6월 17일
what about with given points? and with time = 10?

댓글을 달려면 로그인하십시오.

카테고리

도움말 센터File Exchange에서 2-D and 3-D Plots에 대해 자세히 알아보기

질문:

Dos
2016년 6월 17일

댓글:

Dos
2016년 6월 17일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by