'Fill' function with coloured lines instead of filling area

조회 수: 4 (최근 30일)
Sébastien Martin
Sébastien Martin 2015년 9월 16일
답변: Star Strider 2015년 9월 16일
I'm trying to superpose two different things that I can easily draw with the 'fill' or 'patch' functions. Though when I superpose them the result becomes a bit messy and it is difficult to clearly see the two different plots.
Is there a way to 'fill' a region with coloured lines instead of coloring the whole region? My idea is to draw the lines in two different directions so that the two superposed plots can be seen?
Thanks

답변 (2개)

Thorsten
Thorsten 2015년 9월 16일
편집: Thorsten 2015년 9월 16일

Star Strider
Star Strider 2015년 9월 16일
The File Exchange contribution hatch.m might do what you want. Other options are here.

카테고리

Help CenterFile Exchange에서 Polygons에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by