How can I insert xyz label and title in 3D plotting
170 views (last 30 days)
Show older comments
x=[100,115,120,130]
y=[250,267,288,310]
z=[50,54,68,72]
point_id=[n1,n2,n3,n4]
scatter3(x, y, z, 'b*');
text(x, y, z, point_id);
%I wanna insert xyz axis and title for this figure 1 with codes.
0 Comments
Accepted Answer
Mischa Kim
on 2 Feb 2014
Edited: Mischa Kim
on 2 Feb 2014
Use
title('My title')
xlabel('My x label')
and similarly for y and z axes.
0 Comments
More Answers (0)
See Also
Categories
Find more on Annotations in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!