How to specify dotted line for histfit?

4 次查看(过去 30 天)
The default fitted line in histfit is a continuous line. How do I replace it with a dotted line?
Thanks.

采纳的回答

Greg
Greg 2017-12-2
编辑:Greg 2017-12-2
Oddly, it doesn't look like you can specify it at runtime. You'll have to save the handle, and apply LineStyle afterward.
h = histfit(data);
h(2).LineStyle = ':';

更多回答(0 个)

标签

产品

Community Treasure Hunt

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

Start Hunting!

Translated by