2013-06-12 2 views
0

원 곡선을 플롯하고 원의 좌표를 직접 계산합니다.불연속 점을 그릴 때의 선 두께

예.

my_vector=0:0.1:2*pi; 
for i=1:length(my_vector), 
    plot(...,'LineWidth',3); 
    ...%some other functions like 
    my_fill=fill(...) 
    pause 
    delete(my_fill) 
end 

LineWidth의 효과는 없습니다. 심지어 시도해 보았습니다.

답변

1

한 번에 한 점 씩 플로팅하고 있습니까?

다음과 같이 할 수 있습니까?

my_vector=0:0.1:2*pi; 
for ii = 1:length(my_vector) 
    x = cos(ii); 
    y = sin(ii); 
    plot(x,y, 'k.', 'markersize', 10) 
    hold on 
end 
:이 지점의 원을 제공
plot(x_coord, y_coord, 'k.', 'markersize', 20)