Plot with dot and different colors
613 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
LOKESH
il 13 Mag 2012
Commentato: Alexander Reina Garzon
il 17 Ott 2022
I am using plot function where i need dots.Also I want to change colors?How can I do it.
plot(x,y,'.');
Above function plot the dots but how I change the dots color red or green,etc The following doesn't work:
plot(x,y,'.','r:');
Suggest any answer or solution..
1 Commento
Risposta accettata
Più risposte (2)
Nadeem Tariq Beigh
il 8 Giu 2020
Modificato: Nadeem Tariq Beigh
il 8 Giu 2020
plot(x,y,'ro');//To plot a red circle
plot(x,y,'r.);//To plot ared dot
0 Commenti
Goutham Saravanan
il 21 Set 2021
x = linspace(1*pi,100);
y =
;
plot(x,y,'ro');
xlabel('x')
ylabel('Likelihood ratio for the given conditions')
title('1.2/c')
0 Commenti
Vedere anche
Categorie
Scopri di più su Scatter Plots in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!