I have a question on plotting a specific part of data from a larger section,
Show older comments
Below shows my code for plotting two waveforms over 12 seconds,the workspace variable D10 is 240001 x 2 double, I am particularly interested in a section of this data between 5 and 8 seconds and I want to plot it separately on its own, several attempts have given errors so any help is much appreciated.
Thanking you in advance
t = [((0:length(D10)-1))]*1/20000; plot (t,D10); xlabel('Time(s)'), ylabel('Pu') title ('Engine and Generator Shaft Speed')
Accepted Answer
More Answers (0)
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!