MathGroup Archive 1998

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Re: Unexpected results


> Daniel,
> 
>     I think what you are looking for is Plot[10^Log[10,x],{x,0,10}]?
> 
>     Best regards,
> 
>     Martin
> 
> Daniel Zepeda wrote:
> 
> > Hi,
> >
> > Why doesn't
> >
> > Plot[10^Log[x], {x, 0,10}]
> >
> > plot what I expect? I expect it to plot y=x, but it doesn't, it plots an
> > what looks like an exponential curve.
> >
> > Dan
> 

In fact Log[x] gives the logarithm to basis E (often denoted as "ln x").
Thus 10^Log[x] is equal to x^Log[10] and not to x.

Greetings

another Martin :)


  • Prev by Date: How to load user defined packages?
  • Next by Date: 2 ticks on a 2D plot
  • Previous by thread: Re: Unexpected results
  • Next by thread: Subscripting Matrices (Syntax Question ?)