How to make one colorbar for all subplots?
Mostra commenti meno recenti
Hi everybody
So I made a plot with four subplots (2x2). Now I would like to insert one (big) colorbar on the right Hand side of the four plots without changing the size of any of the plots. Somehow I only manage to make a bar for one subplot...
Cheers Ronny
Risposta accettata
Più risposte (2)
Ronny
il 3 Ago 2014
1 voto
1 Commento
Star Strider
il 3 Ago 2014
My pleasure!
You can adjust its left edge position by increasing or decreasing the 0.01 in the first element of the 'Position' vector, and its width by adjusting the third element of the vector.
Emmanouil Barmpounakis
il 25 Apr 2017
1 voto
I came up with the Star Strider's solution but by using the Edit plot function. I found it easier to do it manually, rather than changing the 'Position' vector.tor.
Categorie
Scopri di più su Subplots in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
