MATLAB Answers

Naim
0

I'm using the histogram function, I would like to reduce the frequency of the y-axis

Asked by Naim
on 2 Aug 2017
Latest activity Answered by Sean de Wolski
on 2 Aug 2017
I only have 40-50 x-axis values but each y-axis value is in the 10s of thousands. I attached a file of what it looks like. I would like to have the y-axis shrunk to make this more readable, perhaps scaled down by a factor of a hundred. my code is current simply:
bargraph = histograph(images)
I would appreciate any help I could get!

  0 Comments

Sign in to comment.

1 Answer

Answer by Sean de Wolski
on 2 Aug 2017
 Accepted Answer

ax = gca;
ax.YScale = 'log'
Set the y axis to log scale.

  0 Comments

Sign in to comment.