bug report imagesc colorbar upside down
Upon running the following script the image of the matrix appears together with the colorbar, but the colorbar is upside down, i.e. according to the colorbar zero is yellow and 1 is dark purple, but in the matrix its the otherr way around.
The script:
P=[1, 0, 0, 0, 0;
0.6, 0, 0.4, 0, 0;
0, 0.6, 0, 0.4, 0;
0, 0, 0.6, 0, 0.4;
0,0, 0, 0, 1]
Q=PPPPP
imagesc(Q)
colorbar
1
vote
Sigurd Angenent
shared this idea
Thanks for the report! gnuplot has been upgraded to version 5.0.7, which seems to fix the issue.
-
Sigurd Angenent commented
Thanks!