How to use a contour between two curves?
Show older comments
I have a nozzle profile and I wish to colour the nozzle using contours. But my colouring appears outside the nozzle area.
x=linspace(0,3,31);
a=1+2.2(x-1.5)^2;
now, I have a 1D temperature array(1 x n) that I wish to express between the two curves as shown below
figure(1)
subplot(3,1,1)
axis([0 3 0 6]);
plot(x,a,'r');
hold on
plot(x,-a,'r');

Kindly help.
Accepted Answer
More Answers (1)
Image Analyst
on 10 Apr 2022
0 votes
2 Comments
praveen sundararajan
on 10 Apr 2022
Image Analyst
on 10 Apr 2022
Let's see your code where you attempted to implement the FAQ method. You forgot to attach it for some reason.
Categories
Find more on Blue 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!