필터 지우기
필터 지우기

Zoom and Print the Latest Action on a Chart.

조회 수: 1 (최근 30일)
Dima
Dima 2012년 2월 13일
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개)

카테고리

Help CenterFile Exchange에서 Visual Exploration에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by