Using patch function to fill the space in between two lines
1 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Polygons 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!