Usage:
Generate data
`x = linspace(0,10,50);`
`y = exp(x);`
Plot data
`plot(x,y)`
Get the handle to the figure axis
`ax = gca;`
`set(ax,'yscale','log')`
Format the y axis with ticks separated every two decades:
`TickLogLocator(ax.YAxis,2);`
Erick Martinez Loran (2021). TickLogLocator (https://github.com/erickmartinez/matlab_tickloglocator), GitHub. Retrieved .
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Create scripts with code, output, and formatted text in a single executable document.