Effacer les filtres
Effacer les filtres

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

5 vues (au cours des 30 derniers jours)
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.

Réponse acceptée

drummer
drummer le 23 Oct 2020
Would this work? It has some configurations for x and y axes.
  3 commentaires
drummer
drummer le 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.

Connectez-vous pour commenter.

Plus de réponses (0)

Produits


Version

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by