Info
此问题已关闭。 请重新打开它进行编辑或回答。
In item 7, I need to use short labels for the x, y, z axes. How it is? Thank you
1 次查看(过去 30 天)
显示 更早的评论
x = -4:0.1:4;
y = -4:0.1:4;
[X,Y] = meshgrid(x,y)
Z = cos(37.6*X).*X.^3-Y.^2;
figure('Name','Zadanie 7','NumberTitle','off');
surfc(X,Y,Z);
xlabel 'x'
ylabel 'y'
zlabel 'Z'
print 7_1.png
hold off
figure('Name','Zadanie 7_1','NumberTitle','off');
mesh(X,Y,Z);
xlabel 'x'
ylabel 'y'
zlabel 'Z'
print 7_2.png
hold off
4 个评论
Image Analyst
2020-11-17
What is item 7?
Your graph looks like this. The numbers for the x and y axes do not have any numbers after the decimal point, so what do you mean by "short labels for the x, y, z axes."?
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/416923/image.png)
回答(0 个)
此问题已关闭。
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!