2012-05-10 17 views
0

私は次のコードを持っている:私は誰が助けることができ、次のoutoutを理解することを確認していないグラフに目立つ線と細い線があるのはなぜですか?

RdmMatrix = vertcat(Round_deviation_mean {:}); 
rslMatrix = vertcat(roundsumlive {:}); 
correctsMatrix=vertcat(corrects{:}); 
A = [ RdmMatrix(:,1), rslMatrix(:,1) ]; 

figure(88); 
bar([RdmMatrix(:,1) rslMatrix(:,1)], 0.05, 'stack'); 
legend('Correct', 'Functioning'); 
xlabel('Run'); 
ylabel('Sensor Count'); 
hold on; 

を!

output of my code

the data of round deviation mean are zeros 

here are data from 65 to 100 of round sumlive 

23.000 19.000 17.000 16.000 38.000 35.000 31.000 25.000 23.000 19.000 16.000 14.000
13.000 11.000 36.000 33.000 31.000 28.000 25.000 21.000 20.000 20.000 14.000 12.000
38.000 35.000 31.000 26.000 23.000 16.000 15.000 13.000 12.000 10.000 37.000

+0

最初にデータを四捨五入した場合、それは改善されますか? – Jonas

+0

ラウンドは丸めを意味しません。つまり、n回のラウンド、つまりn回の測定を意味します。 – pac

+0

丸みを付けて丸を意味します。たぶん、ダブルバーにつながる丸め誤差がありますか?また、ダブルバーがない場合は、図のズーム/サイズ変更によって修正できる簡単なグラフィックスの問題です。 – Jonas

答えて

0

最良の選択は、平均を取ってランの数を減らすことでした。

関連する問題