Plotting
- To: mathgroup at smc.vnet.net
- Subject: [mg2131] Plotting
- From: Julian Charko <jcharko at microage-ll.awinc.com>
- 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}]