Azzera filtri
Azzera filtri

could anyone tell me how to set the x axis to (2 4 6 8 10 12)

2 visualizzazioni (ultimi 30 giorni)
could anyone tell me how to set the x axis to (2 4 6 8 10 12)

Risposta accettata

YT
YT il 5 Mar 2018
Like so
plot(x,y);
xlim([2,12]);
set(gca,'XTick',[2:2:12]);

Più risposte (0)

Categorie

Scopri di più su 2-D and 3-D Plots in Help Center e File Exchange

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by