Matlab plot axis stretch

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

답변 (1개)

Azzi Abdelmalek
Azzi Abdelmalek 2013년 2월 11일
편집: Azzi Abdelmalek 2013년 2월 11일

0 개 추천

use
ii=[1 2 3 4]
set(gca,'xtick',ii*3)

카테고리

도움말 센터File Exchange에서 Annotations에 대해 자세히 알아보기

태그

질문:

Xi
2013년 2월 11일

Community Treasure Hunt

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

Start Hunting!

Translated by