如何获得/ y坐标轴标签显示正确吗?

1视图(30天)
我编写一个项目,想输出4块在一起平铺的布局。然而两个情节(底部两个)只显示1轴标签而不是其他。我怎么解决这个问题?
下面是平铺的布局的代码和结果图:
% ECLIPJ2000
图(11)
tcl = tiledlayout (2, 2);
nexttile
:plot3 (state_f1_storage (1), state_f1_storage (2:), state_f1_storage (3,:))
持有
plot3 (state_f1_storage (1, 1), state_f1_storage (2, 1), state_f1_storage (3,1),“og”,“线宽”,2)
plot3 (state_f1_storage (1) state_f1_storage (2) state_f1_storage (3),“处方”,“线宽”,2)
椭球(0,0,0,6.25,6.25,6.25)
持有
包含(“x(公里))
ylabel (“y”(公里))
zlabel (“z(公里)”)
平等的
网格
nexttile
:plot3 (state_f1_storage (1), state_f1_storage (2:), state_f1_storage (3,:))
持有
plot3 (state_f1_storage (1, 1), state_f1_storage (2, 1), state_f1_storage (3,1),“og”,“线宽”,2)
plot3 (state_f1_storage (1) state_f1_storage (2) state_f1_storage (3),“处方”,“线宽”,2)
椭球(0,0,0,6.25,6.25,6.25)
持有
包含(“x(公里))
ylabel (“y”(公里))
平等的
网格
视图(0,90)
nexttile
:plot3 (state_f1_storage (1), state_f1_storage (2:), state_f1_storage (3,:))
持有
plot3 (state_f1_storage (1, 1), state_f1_storage (2, 1), state_f1_storage (3,1),“og”,“线宽”,2)
plot3 (state_f1_storage (1) state_f1_storage (2) state_f1_storage (3),“处方”,“线宽”,2)
椭球(0,0,0,6.25,6.25,6.25)
持有
包含(“x(公里))
ylabel (“z(公里)”)
平等的
网格
视图(90 0)
nexttile
:plot3 (state_f1_storage (1), state_f1_storage (2:), state_f1_storage (3,:))
持有
plot3 (state_f1_storage (1, 1), state_f1_storage (2, 1), state_f1_storage (3,1),“og”,“线宽”,2)
plot3 (state_f1_storage (1) state_f1_storage (2) state_f1_storage (3),“处方”,“线宽”,2)
椭球(0,0,0,6.25,6.25,6.25)
持有
包含(“y”(公里))
ylabel (“z(公里)”)
平等的
网格
视图(0,0)
标题(tcl,“ECLIPJ2000框架”)

接受的答案

图像分析
图像分析 2023年4月29日
你没有设置 所有 这些情节的标签,具体地说,你不设置垂直轴标签底部两个情节。尝试设置所有3标签无论视图,视图应该显示正确。我们不能运行您的代码,因为你没有包括state_f1_storage变量。
% ECLIPJ2000
图(11)
tcl = tiledlayout (2, 2);
nexttile
:plot3 (state_f1_storage (1), state_f1_storage (2:), state_f1_storage (3,:))
持有
plot3 (state_f1_storage (1, 1), state_f1_storage (2, 1), state_f1_storage (3,1),“og”,“线宽”,2)
plot3 (state_f1_storage (1) state_f1_storage (2) state_f1_storage (3),“处方”,“线宽”,2)
椭球(0,0,0,6.25,6.25,6.25)
持有
包含(“x(公里))
ylabel (“y”(公里))
zlabel (“z(公里)”)
平等的
网格
nexttile
:plot3 (state_f1_storage (1), state_f1_storage (2:), state_f1_storage (3,:))
持有
plot3 (state_f1_storage (1, 1), state_f1_storage (2, 1), state_f1_storage (3,1),“og”,“线宽”,2)
plot3 (state_f1_storage (1) state_f1_storage (2) state_f1_storage (3),“处方”,“线宽”,2)
椭球(0,0,0,6.25,6.25,6.25)
持有
包含(“x(公里))
ylabel (“y”(公里))
zlabel (“z(公里)”)
平等的
网格
视图(0,90)
nexttile
:plot3 (state_f1_storage (1), state_f1_storage (2:), state_f1_storage (3,:))
持有
plot3 (state_f1_storage (1, 1), state_f1_storage (2, 1), state_f1_storage (3,1),“og”,“线宽”,2)
plot3 (state_f1_storage (1) state_f1_storage (2) state_f1_storage (3),“处方”,“线宽”,2)
椭球(0,0,0,6.25,6.25,6.25)
持有
包含(“x(公里))
ylabel (“y”(公里))
zlabel (“z(公里)”)
平等的
网格
视图(90 0)
nexttile
:plot3 (state_f1_storage (1), state_f1_storage (2:), state_f1_storage (3,:))
持有
plot3 (state_f1_storage (1, 1), state_f1_storage (2, 1), state_f1_storage (3,1),“og”,“线宽”,2)
plot3 (state_f1_storage (1) state_f1_storage (2) state_f1_storage (3),“处方”,“线宽”,2)
椭球(0,0,0,6.25,6.25,6.25)
持有
包含(“x(公里))
ylabel (“y”(公里))
zlabel (“z(公里)”)
平等的
网格
视图(0,0)
标题(tcl,“ECLIPJ2000框架”)
1评论
威廉莫里森
威廉莫里森 2023年4月29日
天才! ! !这很有意义,因为这仍然是一个3 d图,即使我把它在一个2 d平面视图,这我不知道。
谢谢你这么多!现在工作完美。

登录置评。

更多的答案(0)

类别

找到更多的在视觉探索帮助中心文件交换

下载188bet金宝搏


释放

R2023a

社区寻宝

找到宝藏在MATLAB中央,发现社区如何帮助你!

开始狩猎!