I have a 2d plot as shown in attached image, I would like to remove the middle nine marker points in this plot. How can I achieve this? Please provide your suggestion. Thank you all.
clearclcnx=5;ny=5;x=linspace(0,1,nx);y=linspace(0,1,ny);[X,Y]=meshgrid(x,y);x1=linspace(1/4,1/1.33333,nx);y1=linspace(1/4,1/1.33333,ny);[X1,Y1]=meshgrid(x1,y1);hold onplot(X,Y,'k',Y,X,'k');plot(X,Y,'ro',Y,X,'ro','MarkerFaceColor',[1,0.6,0.6]);plot(X1,Y1,'k',Y1,X1,'k');
axis square
Best Answer