Using patch function to fill the space in between two lines

조회 수: 1 (최근 30일)
Swarnava Pramanik
Swarnava Pramanik 2017년 2월 19일
편집: Swarnava Pramanik 2017년 2월 19일
Hi All,
I'm creating two lines using the patch function and filling the space in between then with color specifying the data. But for creating two line one four coordinates are required so while specifying the color to fill in the space with I'm only able to mention 4 data points while I want to color the space in between using all my 90 data points. Is there a way around to do this because the color vector in the patch also requires it's length to be same as the length of the coordinates provides to draw the line? I'm also attaching an image where I have used only 4 data points for coloring.
Thanks,
Swarnava

답변 (0개)

카테고리

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