Matlab z标签散点图

Matlab z标签散点图,matlab,scatter-plot,Matlab,Scatter Plot,我在绘制三维散点图时遇到问题。 我不明白为什么z标签是分离的 你能帮我吗 scatter3(x(:,1),x(:,2),x(:,3),50,index_color,'filled') xlabel('1$^{st}$ component','Interpreter','LaTex','FontSize',14); ylabel('2$^{nd}$ component','Interpreter','LaTex','FontSize',14); zlabel('3$^{rd}$ componen

我在绘制三维散点图时遇到问题。 我不明白为什么z标签是分离的

你能帮我吗

scatter3(x(:,1),x(:,2),x(:,3),50,index_color,'filled')

xlabel('1$^{st}$ component','Interpreter','LaTex','FontSize',14);
ylabel('2$^{nd}$ component','Interpreter','LaTex','FontSize',14);
zlabel('3$^{rd}$ component','Interpreter','LaTex','FontSize',14);
我正在使用ubuntu和MatlabR2012B


我在LaTeX解释器(在Windows中)方面运气不佳。请改用TeX解释器:

xlabel('1^{st} component','Interpreter','tex','FontSize',14);
ylabel('2^{nd} component','Interpreter','tex','FontSize',14);
zlabel('3^{rd} component','Interpreter','tex','FontSize',14);

它不会发生在我的系统上(Windows Vista 32位上的Matlab R2010Rb)。对我来说,它发生在所有垂直标签上。。。(也在2D绘图中)可能是图形卡不兼容。尝试更改渲染器,例如
set(gcf、'renderer'、'zbuffer')
no,这并不能解决问题……无论如何,谢谢