MathGroup Archive 1998

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

Search the Archive

Re: Unexpected results

  • To: mathgroup at
  • Subject: [mg14277] Re: Unexpected results
  • From: dreissNOSPAM at (David Reiss)
  • Date: Mon, 12 Oct 1998 13:51:56 -0400
  • Organization: EarthLink Network, Inc.
  • References: <6vf4vc$>
  • Sender: owner-wri-mathgroup at

In article <6vf4vc$dg9 at>, Daniel Zepeda
<dzepeda at> 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


Log[x]  computes the Log to the base E (i.e., the natural log).  What
you want is

Plot[10^Log[10, x], {x, 0,10}]

or perhaps

Plot[E^Log[x], {x, 0,10}]


David Reiss

David Reiss
dreissNOSPAM at
To send personal email, remove the words  "nospam" and "NOSPAM" from the
email address

  • Prev by Date: Re: Unexpected results
  • Next by Date: RE: 3-D to 2-D slice revisited
  • Previous by thread: Re: Unexpected results
  • Next by thread: Re: Unexpected results