[sage-support] order of graphics in plot

2007-10-25 Thread chris wuthrich
Trying to draw some simple graphics, I could not find how to change the order in which the different graphics primitives are plotted. E.g. if li= line([[-1,-1],[2,2]],thickness=5) Pt = point([1,1],pointsize=300,rgbcolor=(0,0,0)) then (li+Pt).show() and (Pt+li).show() will give the same pl

[sage-support] Re: Odd integration

2007-10-25 Thread kcrisman
Glad to be of help. I sort of figured that maxima wouldn't make that big of an error. Thanks for all your hard work. --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to [EMAIL PRO

[sage-support] Pickling objects in Notebook

2007-10-25 Thread Rishikesh
I want to pickle an object in sage notebook. It took me several hours to create the object. When I run the python commands for pickling, it creates a file directory $SAGE_HOME/notebook/worksheet/1/cells/94 Question: How can I use the python's pickling feature from the notebook? Rishi --~--~

[sage-support] Improper Integrals

2007-10-25 Thread kcrisman
SAGE (via Maxima) can handle some improper integrals. E.g. in the "Constructions" documentation we see sage: integrate(1/x^2, x, 1, infinity) 1 which does obtain. Here's one for which Maxima needs to ask a question (in a partial fraction decomposition?), and so the computation fails (raising a

[sage-support] Re: Improper Integrals

2007-10-25 Thread Mike Hansen
If you get that error message, you can use assume to make it so that Maxima does not ask the question: sage: assume(x^2-x+1 >0) sage: integrate(x/(1+x^3),x,1,infinity) (6*log(2) - sqrt(3)*pi)/18 + pi/(2*sqrt(3)) --Mike On 10/25/07, kcrisman <[EMAIL PROTECTED]> wrote: > > SAGE (via Maxima) can h

[sage-support] Re: Pickling objects in Notebook

2007-10-25 Thread Mike Hansen
Hello Rishi, You can use the 'save' command as illustrated below. sage: a = matrix(2, [1,2,3,-5/2]) sage: save(a, '/home/mike/a.sobj') sage: b = load('/home/mike/a.sobj') sage: b [ 12] [ 3 -5/2] Note that the server need to have to have permission to write the file to the locat

[sage-support] "Wall time leak"?

2007-10-25 Thread Simon King
Dear Sage supporters, i wrote some extension class providing fancy methods, i did some timings for these methods, and now i'm puzzled: While the CPU times are about constant, the wall times RAPIDLY increase when i repeat the computation! Expl.: When i do time for the first time, i get CPU tim

[sage-support] Re: Improper Integrals

2007-10-25 Thread kcrisman
Understood. Is there a well-constructed Maxima guidebook which could be linked to from one of the calculus documentation/tutorial pages? Though presumably the SAGE syntax is more flexible. Nonetheless, unless there is some weird assumption about complex numbers hidden in Maxima for doing real in