How can I draw the axes like this?
조회 수: 1 (최근 30일)
이전 댓글 표시
How can I draw the grahp that limit in a range between 1 and infinity? from negative infinitive to 2... something like that...
Thank you so much.
댓글 수: 0
답변 (1개)
Image Analyst
2014년 1월 4일
Since you can't have an infinite number of points to plot, I think the best you can do is to specify what the tick marks say. Something like this:
set(gca,'YTick',['1','2','3','4','5', 'inf'])
If you want a break in the axes, I think someone uploaded something to the file exchange that could show squiggly lines where there was a break in the axes, but I don't recall the link.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Creating, Deleting, and Querying Graphics Objects에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!