colorbar scientific notation exponent won't go away
5 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Hi
I've got a square matrix and I'm using imshow and colorbar to plot it. The values are small, so colorbar naturally uses x10^-3 notation, however, when I set the colorbar location to 'southoutside', it appears the "x10^-3" remains behind the image.
I can tell this because I'm setting the image alphadata to transparent in certain regions.
I tried a workaround via changing the colorbar XTickLabel to the explicit string {'0.004, 0.008, 0.012'}, but neither of these "x10^-3" texts go away! It seems that moving the colorbar doesn't remove the old one, it just creates a new one in a new position.
As you can see, I've manually set the tick labels. I just want to get rid of the "x10^-3" texts.
Is this perhaps a bug? Changing the colorbar location is not moving it, it's apparently creating a new colorbar in that location and failing to delete all the aspects of the old one.
Regards, Mike
0 Kommentare
Antworten (0)
Siehe auch
Kategorien
Mehr zu Colormaps 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!