plot - strange behaviour for big numbers
조회 수: 2 (최근 30일)
이전 댓글 표시
I've found a strange behavior of plot function in MATLAB 2015b (Windows 7). Namely this code:
plot([1,1],[1e+19,100])
produces line from 1e+19 to 100. But if I zoom it by dint of command:
xlim([0, 2])
ylim([-10, 110])
I obtain the following figure:
After changing y axis limits:
ylim([-10 1200])
Everything is OK:
I cannot (fortunately) reproduce it in MATLAB 2012b. Do you have any idea what happens?
댓글 수: 3
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Graphics Performance에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!