How to create hatched fill pattern histograms?

21 visualizzazioni (ultimi 30 giorni)
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.

Risposta accettata

Setsuna Yuuki.
Setsuna Yuuki. il 22 Nov 2020
Modificato: Setsuna Yuuki. il 22 Nov 2020
hello.
You can try with the function in this url:
this is the result:
  6 Commenti
Alessandro Giacetti
Alessandro Giacetti il 23 Nov 2020
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. il 23 Nov 2020
If you try it before applying the Applyhatch,maybe it will work.

Accedi per commentare.

Più risposte (0)

Prodotti


Release

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by