imagesc funtion axes configuration
1 view (last 30 days)
Show older comments
Hello,
how can I change the axes of the graph to have x = 50 increments and y = 50 increments? (e.g. x strats from zero and ends up at 50)
0 Comments
Answers (1)
Walter Roberson
on 3 Jul 2020
Edited: Walter Roberson
on 3 Jul 2020
xlim([0 50]);
xticks(0:5:50); %ticks at 0, 5, 10, 15, and so on
Warning: none of your image x data is as low as 50, so although this would do what you have asked for here, the result would be that the image will not be visible at all.
0 Comments
See Also
Categories
Find more on Graphics Performance in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!