Multiple subplots (12) - 6 each align

4 visualizzazioni (ultimi 30 giorni)
Hello, I created a figure containing 12 subplots of which 6 each align equally. So I got two "groups" of plots which align equally (group A: 1, 2, 5, 6, 9, 10 and group B: 3,4,7,8,11,12). When using 'position', I had similiar difficulties: the same 6 plots (group A) aligned using a normal vector, the others (group B) used another vector (inches?). What can I do? Plz see the sketch for illustration YES, there are no plots at positions 8 and 12; as stated above and can't be seen on the sketch as I exchanged the plots with white boxes (having a different size) for confidentiality reasons: within the groups A and B the plots align equally;
Any help is appreciated - thank you!
  7 Commenti
Michael Wernhart
Michael Wernhart il 15 Ott 2021
this worked well - i also set timeincr to 1:40000 and it worked well too; no errors in the appearance of the plots..
Cris LaPierre
Cris LaPierre il 15 Ott 2021
That suggests to me there might be something with your data. Try creating the figures one at a time and see if you can identify if one of them is not being created properly (perhaps #4?). Inspect the corresponding data for clues as to what may be happening.

Accedi per commentare.

Risposta accettata

Michael Wernhart
Michael Wernhart il 15 Ott 2021
Modificato: Michael Wernhart il 15 Ott 2021
More than that, I saw that I set the axes several times to "normal" - though the code was very similiar (mostly the same but at other positions) and except "axes normal" never changed the position given by subplot(m,n,p) that might caused some error?
working through the code again and standardizing it helped (+ i moved the calculation of the plots with the most data on top)!
Thank you very much!
Kind regards!

Più risposte (0)

Categorie

Scopri di più su 2-D and 3-D Plots in Help Center e File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by