properties of 'qqplot' function?

21 vues (au cours des 30 derniers jours)
Fercho_Sala
Fercho_Sala le 1 Juin 2021
Commenté : Star Strider le 2 Juin 2021
Hello, How is possible to change the marker size, line properties among other parameters of the 'qqplot' function ? , like the next example?
tab7=uitab('Title','daily number of layers');
ax7=axes(tab7);
sgtitle(tab7, 'Daily number of layers');
S=cellfun('length',locs);
~isnan(S);
qq=qqplot(S); % using Children ???
title('');
ylabel(['Number of layers LT 24h, date: ',R(1).Info.Name(1:8)],'FontSize',9,'FontName','Arial','color','default');
xlabel('');
xticks('');
thanks.

Réponse acceptée

Star Strider
Star Strider le 1 Juin 2021
The qqplot function creates 3 line objects. It is possible to modify each one by addressing it specifically —
load gas % Use Documentation Example
figure
hqqp = qqplot(price1);
hqqp(1).MarkerSize = 20; % Data Plot
hqqp(2).LineWidth = 5; % Reference Mid
hqqp(3).Color = 'g'; % Reference Ends
.
  2 commentaires
Fercho_Sala
Fercho_Sala le 2 Juin 2021
@Star Strider Thank you !
Star Strider
Star Strider le 2 Juin 2021
As always, my pleasure!

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Programming dans Help Center et File Exchange

Produits


Version

R2020a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by