Shade area between two curves
Mostrar comentarios más antiguos
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 comentarios
Rik
el 2 de Abr. de 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
el 2 de Abr. de 2022
Respuesta aceptada
Más respuestas (1)
Image Analyst
el 3 de Abr. de 2022
0 votos
Categorías
Más información sobre Data Distribution Plots en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

