MATLAB histogram

3438 단어 시각화
https://jingyan.baidu.com/article/4f7d5712dd9e101a201927ec.html
file_name = '/your/path/.../filenme.txt';
data = load(file_name);
%data_part = data(1:20);
h = histogram(data);   % (0:1:40)  ,(0:0.02:0.4)
title('Rotation Error Between gmapping and mm','fontsize',16);
xlabel('Rotation error value','fontsize',14);
ylabel('Frequency','fontsize',14);
tag = ['total matching frames:',num2str(size(data,1))];
legend(tag,'fontsize',14);

좋은 웹페이지 즐겨찾기