Shift in trajectory of data points plotted after using imshow and hold on
조회 수: 1 (최근 30일)
이전 댓글 표시
Hello all I have encountered a weird problem today. The Final trajectory of the static points plotted after using imshow,hold on and without using imshow hold on are different.Why is this happening?. Kindly help.Below is the code i have used.
x=[100,200,300,400,500];
y=[100,200,300,400,500];
a=uint8(zeros(600,600));
imshow(a);hold on;title('with imshow')
plot(x,y,'wo');
figure,plot(x,y,'bo');title('without imshow')
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/288963/image.jpeg)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/288964/image.jpeg)
댓글 수: 0
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Interactive Control and Callbacks에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!