How to reduce the data point density on graph?

10 ビュー (過去 30 日間)
Hydro
Hydro 2018 年 4 月 27 日
回答済み: Hydro 2018 年 4 月 27 日

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);

回答 (1 件)

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

カテゴリ

Help Center および File ExchangeScatter Plots についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by