'Linewidth' property with Histogram function

I am trying to change the LineWidth property of a histogram function with DisplayStyle 'stairs', however h.LineWidth does not exist and gives an error:
Error using matlab.graphics.chart.primitive.Histogram/set There is no LineWidth property on the Histogram class.

1 commentaire

Adam
Adam le 17 Sep 2015
So far as I can see there is no option to change the line width for a histogram.

Connectez-vous pour commenter.

Réponses (2)

Image Analyst
Image Analyst le 17 Sep 2015

0 votes

Get the counts with your favorite histogram function, then use bar(), plot(), or something to plot it.

Question posée :

le 17 Sep 2015

Community Treasure Hunt

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

Start Hunting!

Translated by