在这里插入代码片
clc
clear;
figure
xlim([-1.02 1])
set(gca,'xminortick','on');
set(gca,'XTick',(-1:0.2:1));
ax = gca;
ax.XAxis.MinorTickValues = -1:0.1:1;
ylim([-0.06 0.1])
set(gca,'yminortick','on');
set(gca,'YTick',(-0.06:0.04:0.1));
aY = gca;
aY.YAxis.MinorTickValues = -0.06:0.02:0.1;
%隐藏坐标保留刻度
set(gca,'xticklabel',[])
%去掉坐标和刻度
set(gca,'xtick',[],'xticklabel',[])
legend('Ryx','Rxx','box','off')legend('Ryx','Rxx','box','off')
%不要标签的线框