How can I insert xyz label and title in 3D plotting

170 views (last 30 days)
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.

Accepted Answer

Mischa Kim
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.

More Answers (0)

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!