Matlab plot axis stretch
Afficher commentaires plus anciens
Hi,
I am trying to plot one colomn of an matrix
CurveData(i,j);
plot(CurveData(:,LocYplot),'b o','LineWidth',0.5);
is there anyway that i can have the plot X axis scale display i*3 instead of i ?
thanks
Réponses (1)
Azzi Abdelmalek
le 11 Fév 2013
Modifié(e) : Azzi Abdelmalek
le 11 Fév 2013
use
ii=[1 2 3 4]
set(gca,'xtick',ii*3)
Catégories
En savoir plus sur Annotations dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!