Is it possible?
set(gca, 'YScale', 'log')
Also read:
http://www.mathworks.com/support/solutions/data/1-15S83.html?solution=1-15S83
--
Steve Lord
sl...@mathworks.com
Using Matlab R2006b, I plot the histogram. Then on the
figure window, click Edit, then Axes Properties. Select Y
axis, then Y scale and choose Log. Depending on your
histogram range, it might not look like a histogram after
changing your Y axis to logarithmic.
Regards,
Georgios
Thanks, I did try 'set(gca, 'YScale', 'log')' on the
histogram, however the bars disapeared and I assumed that
it just couldn't be done that way.
I put the histogram data into a bar graph and then using
your code and it worked.
Thanks for the help.
Yes:
http://www.mathworks.com/support/solutions/en/data/1-2ZUTKK/?solution=1-2ZUTKK