Zoom and Print the Latest Action on a Chart.
1 次查看(过去 30 天)
显示 更早的评论
Hello!
I wanted to ask if you think it is possible to print to an image file a part of the most recent data points on the chart. Suppose you have a large chart which gives an overall picture of the movement of a few time series over the last 1000 periods. I wonder if there is a way to print out a whole chart (say in a 2000 by 1000 pixels image) and then the latest 100 data points of the time series movement(most relevant) in a 800 by 400 pixel image, which will show only the latest time series movement (in a similar way a rectangle zoom tool shows on the usual images) - focusing in on the latest chart action. I hope this is possible!)
I include a sample code that I hope you can help me with:
figure
x = 0:.2:1000;
plot(x,besselj(1,x),x,besselj(2,x),x,besselj(3,x));
hleg = legend('First','Second','Third',...
'Location','NorthEastOutside')
% Make the text of the legend italic and color it brown
set(hleg,'FontAngle','italic','TextColor',[.3 .2 .1])
Thanks!!)
0 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Convert Image Type 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!