how to change the marker style of qq plot? If i do it in the same way as that of line plot then it shows error as too many input arguments.
17 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Payel
le 30 Nov 2023
Réponse apportée : Dyuman Joshi
le 30 Nov 2023
how to change the marker style of qq plot? If i do it in the same way as that of line plot then it shows error as too many input arguments.
0 commentaires
Réponse acceptée
Dyuman Joshi
le 30 Nov 2023
Get the handle of the plot, and make changes accordingly.
The first handle corresponds to the data points with the default '+' markers. Reference - https://in.mathworks.com/help/stats/qqplot.html#bu1z_on-3
%Data set
load gas
figure
%Get the handle
h = qqplot(price1);
%Change marker
h(1).Marker = '*';
%Change marker edge color
h(1).MarkerEdgeColor = [0 1 0];
0 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur 2-D and 3-D Plots 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!