How to plot with ticks but without figures
3 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Konstantin Shchukin
le 29 Sep 2023
Réponse apportée : Dyuman Joshi
le 29 Sep 2023
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?
0 commentaires
Réponse acceptée
Dyuman Joshi
le 29 Sep 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([])
0 commentaires
Plus de réponses (0)
Voir également
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!