I would like to plot arbitary units, that's why I would like to keep ticks indicated, but remove numbers near them. How can I realise it?

 채택된 답변

Dyuman Joshi
Dyuman Joshi 2023년 9월 29일
Remove the tick labels -
%Example
%Plot
fplot(@(x) sin(x), [-5 5])
%Adjust ticks
xticks(-5:0.5:5)
%Remove the tick labels
xticklabels([])

추가 답변 (0개)

카테고리

제품

릴리스

R2023a

질문:

2023년 9월 29일

답변:

2023년 9월 29일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by