- https://www.mathworks.com/matlabcentral/fileexchange/2884-zoombox
- https://www.mathworks.com/matlabcentral/fileexchange/55969-zoomorientation-axh-state-
- https://www.mathworks.com/matlabcentral/fileexchange/3681-pan
- https://www.mathworks.com/matlabcentral/fileexchange/23423-interactive-data-navigation-pane-widget
- https://www.mathworks.com/matlabcentral/fileexchange/14984-scrollplot-scrollable-x-y-axes
Putting multiple graphs one after the other in a short area
4 views (last 30 days)
Show older comments
So The graph I have attached is a sample X,Y plot with the x axis as time (0-10 seconds). When i collect real data, there will be about 10 minutes worth of data (600 seconds). I only want the x axis to go to ~50 seconds and then I want the next 50 seconds to be shown right below the previous 50 seconds. Is there a way i would do this? Or do you have a better way of expressing 600 seconds of data and making it fit on one page without making it extremely small? I will attach a drawing to express this idea better.
0 Comments
Accepted Answer
Jan
on 20 Jun 2017
Edited: Jan
on 20 Jun 2017
See:
But you could draw the slices also:
x = rand(1, 600);
xx = reshape(x, 50, []);
t = 1:50;
y = bsxfun(@plus, xx, 2*(1:size(xx, 2))); % Since 2016b: xx + 2*(1:size(xx, 2)).'
plot(t, y)
0 Comments
More Answers (0)
See Also
Categories
Find more on 2-D and 3-D Plots in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!