[sage-support] Re: Plotting and constant functions

2008-09-02 Thread Jason Grout
Marshall Hampton wrote: > Do these speed up implicit_plot and contour_plot? I'm pretty sure that implicit_plot and contour_plot already use fast_float. Jason --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe

[sage-support] Re: Plotting and constant functions

2008-09-02 Thread Marshall Hampton
Do these speed up implicit_plot and contour_plot? -M. Hampton On Aug 25, 8:11 pm, "Mike Hansen" <[EMAIL PROTECTED]> wrote: > Hello all, > > > It would be nice if the plotting functions could be fixed. None of > > these techniques works (easily) from the user level. > > I just put a patch up at #

[sage-support] Re: Plotting and constant functions

2008-08-25 Thread Mike Hansen
Hello all, > It would be nice if the plotting functions could be fixed. None of > these techniques works (easily) from the user level. I just put a patch up at #3952 which fixes many of these issues. Now you can do things like sage: plot(2, -2, 2) #horizontal line at y=2 sage: parametric_plot

[sage-support] Re: Plotting and constant functions

2008-08-25 Thread Mike Witt
On 08/25/2008 02:58:07 PM, Jason Grout wrote: > > Jason Grout wrote: > > Mike Witt wrote: > >> On 08/21/2008 06:55:48 PM, Joel B. Mohler wrote: > >>> On Thursday 21 August 2008 01:58:23 pm Mike Witt wrote: > I'm looking for a work-around for the situation where I would normally > call p

[sage-support] Re: Plotting and constant functions

2008-08-25 Thread Jason Grout
Jason Grout wrote: > Mike Witt wrote: >> On 08/21/2008 06:55:48 PM, Joel B. Mohler wrote: >>> On Thursday 21 August 2008 01:58:23 pm Mike Witt wrote: I'm looking for a work-around for the situation where I would normally call parametric_plot (or plot, for that matter) with a function, an

[sage-support] Re: Plotting and constant functions

2008-08-25 Thread Jason Grout
Mike Witt wrote: > On 08/21/2008 06:55:48 PM, Joel B. Mohler wrote: >> On Thursday 21 August 2008 01:58:23 pm Mike Witt wrote: >>> I'm looking for a work-around for the situation where I would normally >>> call parametric_plot (or plot, for that matter) with a function, and in >>> some particular

[sage-support] Re: Plotting and constant functions

2008-08-22 Thread Mike Witt
On 08/21/2008 06:55:48 PM, Joel B. Mohler wrote: > > On Thursday 21 August 2008 01:58:23 pm Mike Witt wrote: > > I'm looking for a work-around for the situation where I would normally > > call parametric_plot (or plot, for that matter) with a function, and in > > some particular case that functio

[sage-support] Re: Plotting and constant functions

2008-08-21 Thread Carl Witty
On Aug 21, 10:58 am, Mike Witt <[EMAIL PROTECTED]> wrote: > This is an attempt to ask my previous question more clearly :-) > > I'm looking for a work-around for the situation where I would normally > call parametric_plot (or plot, for that matter) with a function, and in > some particular case th

[sage-support] Re: Plotting and constant functions

2008-08-21 Thread Joel B. Mohler
On Thursday 21 August 2008 01:58:23 pm Mike Witt wrote: > I'm looking for a work-around for the situation where I would normally > call parametric_plot (or plot, for that matter) with a function, and in > some particular case that function turns out to evaluate to a constant. > > For example: > >

[sage-support] Re: Plotting and constant functions

2008-08-21 Thread Mike Witt
On 08/21/2008 02:02:47 PM, Mike Hansen wrote: > > > For example, is there NO WAY to draw a horizontal or vertical line > > using parametric_plot? > > This is one way: > > sage: def xt(t): return t > sage: def yt(t): return 1 > sage: parametric_plot((xt,yt), -2, 2) > > --Mike Well, you know, t

[sage-support] Re: Plotting and constant functions

2008-08-21 Thread Mike Hansen
> For example, is there NO WAY to draw a horizontal or vertical line > using parametric_plot? This is one way: sage: def xt(t): return t sage: def yt(t): return 1 sage: parametric_plot((xt,yt), -2, 2) --Mike --~--~-~--~~~---~--~~ To post to this group, send emai

[sage-support] Re: Plotting and constant functions

2008-08-21 Thread Mike Witt
On 08/21/2008 12:18:26 PM, David Joyner wrote: > > On Thu, Aug 21, 2008 at 1:58 PM, Mike Witt <[EMAIL PROTECTED]> wrote: > > > > This is an attempt to ask my previous question more clearly :-) > > I *conjecture* (and definitely could be wrong) that your problem is related > to the issue that Sag

[sage-support] Re: Plotting and constant functions

2008-08-21 Thread Mike Witt
On 08/21/2008 12:18:26 PM, David Joyner wrote: > > On Thu, Aug 21, 2008 at 1:58 PM, Mike Witt <[EMAIL PROTECTED]> wrote: > > > > This is an attempt to ask my previous question more clearly :-) > > I *conjecture* (and definitely could be wrong) that your problem is related > to the issue that Sag

[sage-support] Re: Plotting and constant functions

2008-08-21 Thread David Joyner
On Thu, Aug 21, 2008 at 1:58 PM, Mike Witt <[EMAIL PROTECTED]> wrote: > > This is an attempt to ask my previous question more clearly :-) I *conjecture* (and definitely could be wrong) that your problem is related to the issue that Sage can plot symbolic functions but constants (rather, numerical

[sage-support] Re: Plotting and constant functions

2008-08-21 Thread Mike Witt
On 08/21/2008 11:14:16 AM, William Stein wrote: > > On Thu, Aug 21, 2008 at 10:58 AM, Mike Witt <[EMAIL PROTECTED]> wrote: > > > > This is an attempt to ask my previous question more clearly :-) > > > > I'm looking for a work-around for the situation where I would normally > > call parametric_plo

[sage-support] Re: Plotting and constant functions

2008-08-21 Thread William Stein
On Thu, Aug 21, 2008 at 10:58 AM, Mike Witt <[EMAIL PROTECTED]> wrote: > > This is an attempt to ask my previous question more clearly :-) > > I'm looking for a work-around for the situation where I would normally > call parametric_plot (or plot, for that matter) with a function, and in > some par