How i can map data axis (x,y) ->(10x10) area to a large (100x100) area?
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
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 Kommentare
Antworten (1)
Stephen23
am 25 Jan. 2016
Bearbeitet: Stephen23
am 27 Jan. 2016
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 Kommentare
Stephen23
am 27 Jan. 2016
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.
Siehe auch
Kategorien
Mehr zu Annotations finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!