How to reduce the data point density on graph?

12 vues (au cours des 30 derniers jours)
Hydro
Hydro le 27 Avr 2018
Réponse apportée : Hydro le 27 Avr 2018

Hello friends,

Below is my plotmatrix coding to compare three models with observed data. I would like to reduce the number of marks on the plot (see attached). Right now each plot has 365 points, i want to go with a step i.e. 1:10:end etc. Any help would be appreciated

[S,AX,BigAx,H,HAx]=plotmatrix(Average_modeling,'*r');
set(S,'MarkerSize',5);
set(H, 'FaceColor','b');
AX(1,1).YLabel.String='Obs';
AX(2,1).YLabel.String='M-1'; 
AX(3,1).YLabel.String='M-2';
AX(4,1).YLabel.String='M-3';
AX(4,1).XLabel.String='Obs';
AX(4,2).XLabel.String='M-1';
AX(4,3).XLabel.String='M-2';
AX(4,4).XLabel.String='M-3';
set(AX,'FontSize',14);

Réponses (1)

Hydro
Hydro le 27 Avr 2018
Ok. I solved my problem. here is the solution if someone needs it at any point
set(S,'MarkerSize',5,'MarkerIndices',1:10:365);

Catégories

En savoir plus sur Scatter 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!

Translated by