[sage-support] Re: Integration of formal functions

2013-07-27 Thread Emmanuel Charpentier
The problem seems to lie on Sage's side. In the native version of sage : Maxima 5.30.0 http://maxima.sourceforge.net using Lisp GNU Common Lisp (GCL) GCL 2.6.7 (a.k.a. GCL) Distributed under the GNU Public License. See the file COPYING. Dedicated to the memory of William Schelter. The function

[sage-support] Re: Integration of formal functions

2013-07-27 Thread Emmanuel Charpentier
By the way, the problem *might* be larger than that. In Maxima, one can do : (%i1) display2d:false; (%o1) false (%i2) define(h(x),integrate(f(t),t,g1(x),g2(x))); defint: lower limit of integration must be real; found g1(x) -- an error. To debug this try: debugmode(true); (%i3)

[sage-support] width of lines in plot legend

2013-07-27 Thread davidp
Is there a way to increase the linewidth of lines appearing in the legend of a plot without changing the linewidth in the plot, itself? -- You received this message because you are subscribed to the Google Groups sage-support group. To unsubscribe from this group and stop receiving emails from

[sage-support] Text representation of number fields with embeddings

2013-07-27 Thread Emil
Hi, I'd like to be able to save number fields with embeddings as text strings, so that they can be instantiated at a later date, as well as being human readable. So, I'm trying to store the command used to create such a field, and use sage_eval on it. sage: x = polygen(QQ) sage: K.x =

[sage-support] Re: Integration of formal functions

2013-07-27 Thread Robert Dodier
On 2013-07-27, Emmanuel Charpentier emanuel.charpent...@gmail.com wrote: (%i2) define(h(x),integrate(f(t),t,g1(x),g2(x))); defint: lower limit of integration must be real; found g1(x) -- an error. To debug this try: debugmode(true); Well, a way to make this work is to write define(h(x),

[sage-support] Re: Text representation of number fields with embeddings

2013-07-27 Thread Volker Braun
The K. = ... syntax injects a names=(...) keyword argument on the right hand side: sage: preparse('K.k = f()') K = f(names=('k',)); (k,) = K._first_ngens(1) So what you probably want is: sage: x = polygen(QQ) sage: sage_eval(NumberField(x^2 + x - 1/2, embedding=0.366, names=('x',)),

Re: [sage-support] legends for 3d graphics

2013-07-27 Thread Jason Grout
On 7/25/13 10:58 AM, William Stein wrote: On Thu, Jul 25, 2013 at 9:16 AM, davidp davide...@gmail.com wrote: I am using Sage to plot an arrangement of planes in 3-space. Each plane has its own color, and I would like a legend in the plot that associates the equation of each plane with its

Re: [sage-support] legends for 3d graphics

2013-07-27 Thread William Stein
On Sat, Jul 27, 2013 at 8:57 PM, Jason Grout jason-s...@creativetrax.com wrote: On 7/25/13 10:58 AM, William Stein wrote: On Thu, Jul 25, 2013 at 9:16 AM, davidp davide...@gmail.com wrote: I am using Sage to plot an arrangement of planes in 3-space. Each plane has its own color, and I