Using patch function to fill the space in between two lines
显示 更早的评论
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 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Polygons 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!