figure(1)
subplot(1,2,1)
x=[1300:3600]
y=[1300,3600]
L=strsplit(sprintf('%.1f,%.1f)/n' , [x(:) y(:)], '/n');
plot(x,y, '+r')
text(x,y,L(1:length(x)) , 'HorizontalAlignment' , 'center' , 'verticalAlignment' , 'bottom')
axis([1300 3600 1300 3600])
sublpot(1,2,2)
x=(1300 3600)
y=[1300,3600]
L=strsplit(sprintf('%.1f,%.1f)/n' , [x(:) y(:)], '/n');
plot(x,y, '+r')
text(x,y,L(1:length(x)) , 'HorizontalAlignment' , 'center' , 'verticalAlignment' , 'bottom')
axis([1300 3600 1300 3600])
Get Answers For Free
Most questions answered within 1 hours.