Info
This question is closed. Reopen it to edit or answer.
In item 7, I need to use short labels for the x, y, z axes. How it is? Thank you
1 view (last 30 days)
Show older comments
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 Comments
Image Analyst
on 17 Nov 2020
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)
Answers (0)
This question is closed.
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!