How to create subplots of findchangepts function?
6 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Mohamed Nedal
am 24 Dez. 2019
Bearbeitet: Armin Iravani
am 11 Jan. 2022
Hello everyone,
I'm trying to plot several findchangepts plots as subplots in a single figure. I found it can't be done unfortunately.
Do you have any idea how to do so? any workaround?
Kindly check the attached .mat file. Here's what I need to plot.
subplot(3,1,1)
findchangepts(B,'MaxNumChanges',5);
subplot(3,1,2)
findchangepts(Bz,'MaxNumChanges',5);
subplot(3,1,3)
findchangepts(Dst,'MaxNumChanges',5);
0 Kommentare
Akzeptierte Antwort
Sean de Wolski
am 24 Dez. 2019
Take a look at the find change points live task which will generate the code for you for the plot you're looking for. Copy and paste it into subplot (or tiledlayout!)
6 Kommentare
Sean de Wolski
am 31 Dez. 2019
Tiledlayout was added in 19b. The same logic would work with subplot.
Weitere Antworten (1)
Armin Iravani
am 11 Jan. 2022
Bearbeitet: Armin Iravani
am 11 Jan. 2022
Hello,
the ischange function does not have two types of methods which findchangepts has such as 'rms' and 'std'. How to use subplot and findchangepts with these two methods?
thank you....
0 Kommentare
Siehe auch
Kategorien
Mehr zu 2-D and 3-D Plots finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!