How i can map data axis (x,y) ->(10x10) area to a large (100x100) area?
조회 수: 1 (최근 30일)
이전 댓글 표시
I have a data set in the range of (x[0 10], y[0 10]) so i want to plot this data in the area of 100x100 so that It can give a larger view of the data set. I want to expand this with respect to data ? how i can do this ? Need your guidance.
댓글 수: 0
답변 (1개)
Stephen23
2016년 1월 25일
편집: Stephen23
2016년 1월 27일
You don't need to change your data, just change the axes limits to zoom into the data that you want to see. Try something like this:
xlim([0,10])
ylim([0,10])
There are plenty of options, so read the documentation too:
EDIT: multiply the data by 10. This seems to be what the OP is wanting to do.
댓글 수: 5
Stephen23
2016년 1월 27일
The obvious answer is to multiply your X and Y values by 10. But it still seems rather bizarre to prefer to change the data rather than simply zoom the axes.
참고 항목
카테고리
Help Center 및 File Exchange에서 Annotations에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!