How to plot with ticks but without figures

11 visualizzazioni (ultimi 30 giorni)
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?

Risposta accettata

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

Più risposte (0)

Prodotti


Release

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by