![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/344299/image.png)
Al momento, stai seguendo questa domanda
- Vedrai gli aggiornamenti nel tuofeed del contenuto seguito.
- Potresti ricevere delle e-mail a seconda delle tuepreferenze per le comunicazioni.
Patch plot z-values colorbar not correct
Risposta accettata
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/344299/image.png)
28 Commenti
- Why does it matter that they sum to 1?
- What should the color represent?
- Should each subplot show colors that cover the full range of the colorbar?
- nexttile does not have any input arguments. It literally just adds a new subplot according to your tiledlayout. See examples. So, you'll need to remove the patch() commands from the nexttile inputs and put them on a separate line after nexttile(). That's what my step #2 explains in my answer under "Use tiledlayout instead of subplot".
- Then you need to follow step #3 in that section - the 5 lines at the end. Note that I'm placing the invisible axes much differently than you are. Critically, I'm also applying caxis to it.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/358051/image.jpeg)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/358417/image.bmp)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/358429/image.bmp)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/358984/image.jpeg)
Più risposte (0)
Vedere anche
Categorie
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Si è verificato un errore
Impossibile completare l'azione a causa delle modifiche apportate alla pagina. Ricarica la pagina per vedere lo stato aggiornato.
Seleziona un sito web
Seleziona un sito web per visualizzare contenuto tradotto dove disponibile e vedere eventi e offerte locali. In base alla tua area geografica, ti consigliamo di selezionare: .
Puoi anche selezionare un sito web dal seguente elenco:
Come ottenere le migliori prestazioni del sito
Per ottenere le migliori prestazioni del sito, seleziona il sito cinese (in cinese o in inglese). I siti MathWorks per gli altri paesi non sono ottimizzati per essere visitati dalla tua area geografica.
Americhe
- América Latina (Español)
- Canada (English)
- United States (English)
Europa
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)
Asia-Pacifico
- Australia (English)
- India (English)
- New Zealand (English)
- 中国
- 日本Japanese (日本語)
- 한국Korean (한국어)