clear all;close all;for k=1:4axis([0,10,0,10]);data = ginput(4);x = data(:,1);y = data(:,2);plot(x,y,'r','LineWidth',1);axis([0,10,0,10]);end
this code doesnot plot 4 graphs at the same time.it is getting removed after 1st iteration.please help me to draw 4 plots in a single graph uing ginput
Best Answer