How to display only selected xticks?
Ältere Kommentare anzeigen
HI!
figure
stairs(fl,db(sqrt(sTO)))
irs(cfm(6:end),db(sqrt(p(6:end))))
xticks(ff)
xticklabels(cfs);
xtickangle(45)
set(gca,"XScale","log")
Even though I set xticks, the default ticks appear too.

I also tried puting
set(gca,'xtick',[])
before seting the x ticks. It didn't work. How can I display the wanted xticks without the default tickes?
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Grid Lines, Tick Values, and Labels finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

