MathGroup Archive 1995

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

Search the Archive


  • To: mathgroup at
  • Subject: [mg2131] Plotting
  • From: Julian Charko <jcharko at>
  • Date: Wed, 4 Oct 1995 01:56:07 -0400

In order to plot the function f(x) = a^x, where a<0, over a 
range of integer values of x, what plotting options would you
need to use with the Plot command? 

Specifying a plotting range of real numbers in the usual way,
as shown below, for example, presents problems because
Mathematica generates complex numbers for fractional exponents,
and these obviously cannot be plotted by Plot.

                 Plot[(-1)^x, {x, -5, 5}]

  • Prev by Date: Mathematica R^2 value
  • Next by Date: What do you call "N"?
  • Previous by thread: Re: Mathematica R^2 value
  • Next by thread: Re: Plotting