How to figure out percentage change in time series?
1 次查看(过去 30 天)
显示 更早的评论
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 个评论
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
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().
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Annotations 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!