Matlab Plot Change Axes

To remove the default ticket labels:
set(gca, ‘XTickLabel’, [])

edit decimals of ticket labels:
ytickformat(‘%.2f’)

edit names of axes:

ylabel(‘y name’)
xlabel(‘x name’)

Leave a Reply

Your email address will not be published. Required fields are marked *