How to create hatched fill pattern histograms?

조회 수: 26 (최근 30일)
Alessandro Giacetti
Alessandro Giacetti 2020년 11월 22일
댓글: Setsuna Yuuki. 2020년 11월 23일
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