I don't know how to add the dots
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Ye
le 29 Oct 2022
Réponse apportée : CHIRANJIT DAS
le 29 Oct 2022
Can someone body help me put dots? I have already type the code for the graph, but can't code to put dots in the graph like that
clc, clear;
x = [0 : 0.1 : 12] * pi;
y = sin(x);
z = cos(3 * x);
figure();
plot3(x,y,z, 'color','r');
.![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1173078/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1173078/image.png)
0 commentaires
Réponse acceptée
KALYAN ACHARJYA
le 29 Oct 2022
Modifié(e) : KALYAN ACHARJYA
le 29 Oct 2022
x = [0 : 0.1 : 12] * pi;
y = sin(x);
z = cos(3 * x);
figure();
plot3(x,y,z, '--d','color','b','markerfacecolor','y','markersize',4);
#Change color as per requirements
0 commentaires
Plus de réponses (1)
Voir également
Catégories
En savoir plus sur Environment and Settings dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!