hi all I plot 3d an object in the form of ordinary plot figure('Name','undeformed structure..... for i=1:(length(Support(:,1))); plot3([X(i)+circlesize*2,X(i)-circlesize*2],-[Z(i),Z(i)],[Y(i),Y(i)],'r'); %line plot3(sin(0:0.1:pi*2)*circlesize/2+X(i),cos(0:0.1:pi*2)*Z(i),cos(0:0.1:pi*2)*circlesize/2-circlesize/2+Y(i),'r') %circle objects formed lines and circles of proportion, but if I move to a GUI axis([min(MinX)-margin, max(MaxX)+margin, min(MinY)-margin, max(MaxY)+margin, min(MinZ)-margin, max(MaxZ)+margin]) axislimits=axis; circlesize=max([axislimits(2)-axislimits(1),axislimits(4)-axislimits(3),axislimits(6)-axislimits(5)])/40 plot3([X(i)+circlesize*2,X(i)-circlesize*2],-[Z(i),Z(i)],[Y(i),Y(i)],'r'); % line plot3(sin(0:0.1:pi*2)*circlesize/2+X(i),cos(0:0.1:pi*2)*Z(i),cos(0:0.1:pi*2)*circlesize/2-circlesize/2+Y(i),'r')%circle to object to the line but still the proportion of objects was not proportion circle again, about whether the factors that cause differences in the results of the 3d plot. thanks wahyoe