Вопрос

I've a problem in plotting a 3D scatter plot. I can't understand why the z label is distorced

can you help me?

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);

I'm using ubuntu and matlab R2012b

enter image description here

Это было полезно?

Решение

I have had spotty luck with the LaTeX interpreter (in Windows). Try the TeX interpreter instead:

xlabel('1^{st} component','Interpreter','tex','FontSize',14);
ylabel('2^{nd} component','Interpreter','tex','FontSize',14);
zlabel('3^{rd} component','Interpreter','tex','FontSize',14);
Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top