Is this what you want? sage: f = lambda x:1/x sage: p = plot(f(x),-4,4) sage: show(p,xmin=-4,xmax=4,ymin=-4,ymax=4)
On 2/10/07, Joel B. Mohler <[EMAIL PROTECTED]> wrote: > > I spent some time trying to make a pretty plot for my calculus quiz -- a plot > of y=1/x. Ideally, I wanted a plot from -4..4 with range -4..4. > Unfortunately, the plot command calculates the range intelligently and I > could find no way to modify that behavior. Did I miss it? > > I must say that I find the plotting architecture to be rather charming -- > braindead simple to get an output file to insert into latex (far and away my > most common use case for such things). > > Thanks > Joel > > > > --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://sage.math.washington.edu/sage/ and http://sage.scipy.org/sage/ -~----------~----~----~----~------~----~------~--~---