MATLAB: How to insert xyz label and title in 3D plotting

3d plots

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.

Best Answer

Use
title('My title')
xlabel('My x label')
and similarly for y and z axes.