I want to change the notation of the log y-axis:
Here is an example code, which doesn't work:
y = [0.1 0.3 0.5 1];
yticks([0.1 0.5 1])
ax = gca;
ax.YAxis.Exponent = 2
I found out that exponent notation doesn't work when yticks is used in conjunction with logarithmic scaling.