Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

Plotting same dataset results in different outputs

조회 수: 1 (최근 30일)
Shawn Fernandes
Shawn Fernandes 2016년 10월 12일
마감: MATLAB Answer Bot 2021년 8월 20일
The file GMD_F16.dat has 1000 2D points, so 1000 rows & 2 col data.
The output seems different when plotting with for loop & when plotting within entire range, PFB commands & sample code for reference.
Plotting with For loop
subplot(1,4,1) for i = 1:rows plot(data1(i,1),data1(i,2),'k.') hold on end title('Original Data');
Plotting within entire range
subplot(1,4,3) plot(data1(:,1),data1(:,2),'k.','MarkerSize',12)
Please guide.

답변 (0개)

이 질문은 마감되었습니다.

태그

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by