chose the marker with plot3d
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
ikram loued
am 10 Aug. 2022
Kommentiert: the cyclist
am 15 Aug. 2022
Hello, i want to plot a 3d point with - marker. when i use plot3d(x,y,z,'-black') , I don't see anything on the figure but with plot(x,y,z,'.black') i have the right figure. could anyone tell me why please?
(I use matlab 2019b).
0 Kommentare
Akzeptierte Antwort
the cyclist
am 10 Aug. 2022
It looks like you used a hyphen instead of an underscore.
x = 1:5;
y = rand(1,5);
z = rand(1,5);
figure
plot3(x,y,z,'black','Marker','_','MarkerSize',16)
2 Kommentare
the cyclist
am 15 Aug. 2022
Hm. You can see that the code works here [R2022a].
You mention that you are using R2019b, so I guess it could be a bug that was fixed.
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Line Plots finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!