I don't know how to add the dots
조회 수: 1(최근 30일)
표시 이전 댓글
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');
.

댓글 수: 0
채택된 답변
KALYAN ACHARJYA
2022년 10월 29일
편집: KALYAN ACHARJYA
2022년 10월 29일
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
추가 답변(1개)
참고 항목
범주
Find more on Graph and Network Algorithms 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!