Borrar filtros
Borrar filtros

Zoom and Print the Latest Action on a Chart.

1 visualización (últimos 30 días)
Dima
Dima el 13 de Feb. de 2012
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!!)

Respuestas (0)

Categorías

Más información sobre Visual Exploration en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by