make an xlimit of 100 to 10^5 in matlab

You can set the x-axis limit of a plot in MATLAB using the xlim function. If you want to set the x-limit to be between 100 and 100000 (10^5), you can do the following:

main.m
xlim([100, 1e5])
17 chars
2 lines

This will set the minimum x-limit to 100 and the maximum x-limit to 100000 (10^5) on your plot.

related categories

gistlibby LogSnag