How can I set the number of decimals places displayed on plots and histograms?

8 views (last 30 days)
I am learning about image editing and I have a vector of all the grayscale values that go into an image.
In a histogram of the different pixel values, I would like to display the labels on the graph in standard notation. I'm looking for a MATLAB setting to help me do that, so it will display standard notation by default.

Accepted Answer

drummer
drummer on 23 Oct 2020
Would this work? It has some configurations for x and y axes.
  3 Comments
drummer
drummer on 25 Oct 2020
Well, I think you could write a function for your configuration options.
Check this out for figures, perhaps you can adjust for the histograms.
Then every time you want to plot them, it will be made through your functions.
I don't think you can set a global preference in such a specific plot you want to show through figures.

Sign in to comment.

More Answers (0)

Products


Release

R2020b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!