dpb
Posts:
9,804
Registered:
6/7/07


Re: changes xaxis from plot matrix
Posted:
Nov 20, 2012 1:34 PM


On 11/20/2012 12:03 PM, Arantxa wrote: > Hi, > I have plotted a row (70) from a matrix 76*75 > > R=plot (A(70,:)) > > On the plot I can see that the xaxis is from 0 to 76. > > Do you know how i can change the xaxis? I need multiply all the xaxis > by 0.2.
x=0:0.2:0.2*(size(A,2)1);
plot(x,A(70,:))
Or you can retrieve the 'xticklabel' property and mung on it...


