How do I create this graph with a blue bottom filling in MATLAB?

2 vues (au cours des 30 derniers jours)
mpho bosupeng
mpho bosupeng le 14 Déc 2022
Commenté : mpho bosupeng le 15 Déc 2022
Hello Experts,
How do I create this graph with a blue bottom filling in MATLAB? This one was created in MATHEMATICA.

Réponse acceptée

Dyuman Joshi
Dyuman Joshi le 14 Déc 2022
x=0:0.01:15;
y=sin(x)+pi*x/5;
area(x,y,'FaceColor', 'c', 'EdgeColor', 'b')

Plus de réponses (0)

Catégories

En savoir plus sur 2-D and 3-D Plots dans Help Center et File Exchange

Produits


Version

R12.1

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by