How to change the position of the exponential in a colorbar
5 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
I'm using MATLA R2020a to generate an image with colorbar. I'm including the colorbar using the below code. But the exponential part is coming below the colorbar which I want to be at the top position.
contourf(X*10^6,Y*10^6,(S1),50,'edgecolor','none'), axis square; title('(S2)'); colorbar
How do I change that? Im including the figure here.![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/826890/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/826890/image.png)
2 Kommentare
KSSV
am 8 Dez. 2021
How about?
contourf(S1,50,'edgecolor','none'), axis square; title('(S2)'); colorbar
Antworten (0)
Siehe auch
Kategorien
Mehr zu Colorbar 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!