help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Plot Problem


From: Tatsuro MATSUOKA
Subject: Re: Plot Problem
Date: Fri, 10 Jun 2016 07:39:18 +0900 (JST)


> From: Thomas D. Dean 
> To: address@hidden
> Cc: 
> Date: 2016/6/10, Fri 05:09
> Subject: Plot Problem
> 
> Most likely, this is between my ears, but...
> 
> plot([1:2:10],[1,3,2,4,5],'o')
> 
> and
> 
> plot([10 .^ [1:2:10]],[1,3,2,4,5],'o')
> 
> are different.
> 
> I read this to be plot(X,Y,'o') where the only difference should be the 
> labels on the X axis.
> 
> Correct?  What am I doing wrong?
> 
> Tom Dean


I cannot understand why you think that the above two are different.

>> [1:2:10]
ans =

   1   3   5   7   9

>> [10 .^ [1:2:10]]
ans =

  1.0000e+001  1.0000e+003  1.0000e+005  1.0000e+007  1.0000e+009

Tatsuro



reply via email to

[Prev in Thread] Current Thread [Next in Thread]