Plot data from 2 or more timeseries with different x axis scale
古いコメントを表示
Hi everyone,
i have to plot 2 or more files as 1x1 timeseries from workspace. This is not the problem. The code looks like this:
figure
plot(simout.x1), hold on, grid on, plot(simout.x2),
xlim([0 31536000]), xlabel('time]'),ylabel('xxxx'),
title('xxxx'),legend('xx','xx'),
hold off
Because I simulate a year and have the data in seconds, I would like to have the X axis as months (Jan, Feb, Mar,...) in the plot of the whole year. Sometimes I would like to show only sections where the data in hours or days would be helpful.
Is there a way to implement this easily?
I have already tried some commands but could not do it. Would be glad about tips. Greetings
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Time Series Collections についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
