Info
Questa domanda è chiusa. Riaprila per modificarla o per rispondere.
Assigned colorbar heights in pcolor subplots
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
I am making a lot of figures with pcolor subplots. I want all the x-axes to match so I am manually assigned the colorbar positions. Right now I am doing this by a trial and error approach to get the colorbars lined up. Is there a "cheat sheet" somewhere that would tell me where the default subplots line up for assigning heights of the colorbars.
This is the line I am playing with
c=colorbar; set(c, 'Position', [0.93 .11 .015 .2])
Does my question make sense?
0 Commenti
Risposte (1)
Image Analyst
il 26 Ago 2019
First make up whatever colormap you want. Then look at all your data to find the OVERALL min and max. Then for each axes, use colorbar() and caxis() to make them all match.
0 Commenti
Questa domanda è chiusa.
Vedere anche
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!