How to shade the area between two mirror curves using patch?
Show older comments
Hello,
I wanted to shade the area between the curve C1 and C2 shown in the figure below.

The vector for curve C2 is:
alpha = 150 : 2 : 210;
pp = [cosd(alpha')+sind(60)+0.5 sind(alpha')+cosd(60)];
pp = flip(pp);
I am trying to shade the area using patch (shaded red in figure) but getting it shaded in other adjacent parts. Please do help and if you need any other information, comment below.
1 Comment
Allen
on 1 Mar 2021
You an find a solution to this issue at the following linked discussion.
Accepted Answer
More Answers (0)
Categories
Find more on Surface and Mesh Plots in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!