필터 지우기
필터 지우기

How to figure out percentage change in time series?

조회 수: 2 (최근 30일)
SONI SONI
SONI SONI 2015년 10월 4일
댓글: Image Analyst 2015년 10월 7일
I have time series values (monthly/annual/seasonal) of coefficient value (S) and A. I want to make a plot, where x axis (A) and y axis (S) limit will be varying between -20 to +20 in percentage. figure will demonstrate, If coefficient (S) is 1.5, than 10% increase of A would cause a 15% in crease in A. How will I make this figure?
  댓글 수: 3
SONI SONI
SONI SONI 2015년 10월 7일
To better understand I attached a figure. please see.
Image Analyst
Image Analyst 2015년 10월 7일
I'm not sure now what you want. What do you want? You have the data (S and A), right? So just use plot() and let the axes adjust automatically. What's the problem?

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

답변 (1개)

Image Analyst
Image Analyst 2015년 10월 4일
Your figure did not get attached.
What's wrong with letting the axes determine the limits? If you want constant limits, then you can call xlim() and ylim() to set them in advance. Put "hold on" so that when you plot again, it will keep those limits. Or else call xlim() and ylim() with fixed limits after you call plot().
  댓글 수: 1
SONI SONI
SONI SONI 2015년 10월 4일
Just for example I wrote -20 to +20. here I attached a figure. I want to plot similar type of figure.

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

카테고리

Help CenterFile Exchange에서 Two y-axis에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by