How to create hatched fill pattern histograms?

28 次查看(过去 30 天)
I have to create a plot with two histograms, both normalized through probability, to represent the distribution of an index S in two differenti conditions (a) and (b).
For a better visibility, I would like to add a hatched fill pattern to one of them. Here below there is how the plot looks like without the pattern.

采纳的回答

Setsuna Yuuki.
Setsuna Yuuki. 2020-11-22
编辑:Setsuna Yuuki. 2020-11-22
hello.
You can try with the function in this url:
this is the result:
  6 个评论
Alessandro Giacetti
Alessandro Giacetti 2020-11-23
Great. It works nicely once you select a suitable couple of patterns to improve the quallity of visualization. The only issue left is that once the second figure is produced, which is the one with the patterns, I can not find a way to increase the axes fontsize and box width, even opening the 'Property Inspector' window.
Setsuna Yuuki.
Setsuna Yuuki. 2020-11-23
If you try it before applying the Applyhatch,maybe it will work.

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Histograms 的更多信息

产品


版本

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by