matlab画图怎么调整x轴x=[0.55,0.60,0.65]y=[3.5,3.8,4.1]xlabel('碳/mm')ylabel('水')plot(x,y,'k:')axis([0.50 0.7 2 16])grid onlegend('3d')一执行的话 x轴就显示0.5 0.52 0.54.0.7 1 我现在想让它是0.5 0.55 0.6 0.65 0.7 就是去掉

来源:学生作业帮助网 编辑:作业帮 时间:2024/05/14 19:21:13
matlab画图怎么调整x轴x=[0.55,0.60,0.65]y=[3.5,3.8,4.1]xlabel('碳/mm')ylabel('水')plot(x,y,'k:')axis([0.50 0.7 2 16])grid onlegend('3d')一执行的话 x轴就显示0.5 0.52 0.54.0.7 1 我现在想让它是0.5 0.55 0.6 0.65 0.7 就是去掉

matlab画图怎么调整x轴x=[0.55,0.60,0.65]y=[3.5,3.8,4.1]xlabel('碳/mm')ylabel('水')plot(x,y,'k:')axis([0.50 0.7 2 16])grid onlegend('3d')一执行的话 x轴就显示0.5 0.52 0.54.0.7 1 我现在想让它是0.5 0.55 0.6 0.65 0.7 就是去掉
matlab画图怎么调整x轴
x=[0.55,0.60,0.65]
y=[3.5,3.8,4.1]
xlabel('碳/mm')
ylabel('水')
plot(x,y,'k:')
axis([0.50 0.7 2 16])
grid on
legend('3d')
一执行的话 x轴就显示0.5 0.52 0.54.0.7
1 我现在想让它是0.5 0.55 0.6 0.65 0.7 就是去掉一些中间数
2 怎么让0.5有 但是不显示出来

matlab画图怎么调整x轴x=[0.55,0.60,0.65]y=[3.5,3.8,4.1]xlabel('碳/mm')ylabel('水')plot(x,y,'k:')axis([0.50 0.7 2 16])grid onlegend('3d')一执行的话 x轴就显示0.5 0.52 0.54.0.7 1 我现在想让它是0.5 0.55 0.6 0.65 0.7 就是去掉
set(gca,'xtick',[0.5:0.05:0.7)