1. 程式人生 > >matlab bar3 畫 3D parameter圖

matlab bar3 畫 3D parameter圖

close all;clear all;clc

load('accuracy.mat');
results = accuracy;

bar3(results);
set(gca,'xticklabel',0:0.1:2);
set(gca,'yticklabel',0:0.1:2);
set(gca,'zticklabel',86:1:90);
set(gca,'xtick',[],'ytick',[]) 
%set(gca,'clipping','on');
zlim([86,90]);
xlabel('beta');
ylabel('gamma');
zlabel('accuracy');
title('parameter experiment');

這裡寫圖片描述