'Timeseries' vs 'Structure with time data' for plot
Mostrar comentarios más antiguos
Hello.
I want to plot with my simulink data.
I got two types of data.
One with the Timeseries data with 'To file' block.
The other is the 'structure with time data'.
I plot withe these data, I realize the difference between those two things.
This is the result with Timeseries data.

This is the structure with time data
data is the same as below

What makes these differences?
I tried to draw the graph with excel, I can get the result like I tried to draw with structure with time data.
How can I draw the graph same as the first one?
Thank you.
Respuestas (1)
Mehmed Saad
el 27 de Abr. de 2020
x = rand(1,10);
figure,plot(x)

figure,stairs(x)

4 comentarios
Kyoungtak Kim
el 27 de Abr. de 2020
Mehmed Saad
el 27 de Abr. de 2020
can you tell me your MATLAB version?
Kyoungtak Kim
el 27 de Abr. de 2020
Mehmed Saad
el 27 de Abr. de 2020
i dont know but i think maybe. I am using R2019a and when i plot time series it gives me normal plot
Categorías
Más información sobre Annotations en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!