function plotsquare(X,Y,element_params)

width=element_params(1);

rectangle('Curvature',[0,0],'Position',[X-width/2,Y-width/2,width,width],'FaceColor','k')

