Shade area between two curves
Ältere Kommentare anzeigen
Hello,
I'm trying to fill the area between these two curves:

I had tried to use fill and patch function to shade but I didnt make it...

Any idea on how to fix the problem?
Thank you in advance for your help!
To get my first pic, please follow my step...
- Open 'combinefyp.slx'.
- Go to matlab and type the following variable.
ve = 25;
la = 4.6;
lx = 26.1;
yl = 3.7;
le = 4.6;
g = 9.8;
miu = 0.5;
3. Back to simulink then click 'Run'.
4. Go to matlab and type the following command.
plot(out.va1,out.L1);
hold on;
plot(out.va2,out.L2);
hold on;
2 Kommentare
Rik
am 2 Apr. 2022
Can you show what syntax you tried for the call to patch? And can you attach the out variable in a mat file?
LIM MING HUI
am 2 Apr. 2022
Akzeptierte Antwort
Weitere Antworten (1)
Image Analyst
am 3 Apr. 2022
0 Stimmen
Kategorien
Mehr zu Data Distribution Plots finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

