[sage-support] Re: Sagetex issue

2010-03-02 Thread Adrián
Thanks, that's just what I needed, just the load instruction. I finally got it to work somehow. Although it seems kind of weird that I get an error message after I load the .sage file in the console, it always ends saying IOError: [Errno 2] No such file or directory: 'sagetex_practice.sage' but i

[sage-support] Re: Solve fails for a cubic

2010-03-02 Thread Sharpie
On Mar 2, 8:10 pm, Sharpie wrote: > So I guess at this point my question is: is there another way to > convert from a symbolic polynomial equation to a Polynomial Ring?  I > The methods I used feel very hacky and I don't trust them. Ok, so I think I found something in the manual page "Conversion

[sage-support] Re: Solve fails for a cubic

2010-03-02 Thread Sharpie
On Mar 2, 2:34 pm, Alex Ghitza wrote: > The way I see it, it is not actually a question about the variable > representing a real number; it is more a question of using polynomials > and their specialised built-in roots() method rather than symbolic > functions and the general-purpose solve(). > >

[sage-support] Re: quitting local sage notebook

2010-03-02 Thread Simon
If you didn't start the sage server through a terminal, then the above won't work. I have a script that contains: #!/bin/sh kill -9 `cat $HOME/.sage/sage_notebook.sagenb/twistd.pid` It kills the entire sage process tree. On Mar 2, 10:53 am, "D.C. Ernst" wrote: > Thanks! > > On Mar 1, 3:00 pm,

Re: [sage-support] image of a complex function

2010-03-02 Thread David Joyner
Does http://trac.sagemath.org/sage_trac/ticket/6648 help? On Tue, Mar 2, 2010 at 6:06 PM, davidp wrote: > For a class I am teaching, I would like to display an image in the > plane---say a png-file--- and show how it is transformed under a > complex function f: C --> C.  What is the best way to

[sage-support] image of a complex function

2010-03-02 Thread davidp
For a class I am teaching, I would like to display an image in the plane---say a png-file--- and show how it is transformed under a complex function f: C --> C. What is the best way to do this? Thanks, Dave -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe fro

Re: [sage-support] Re: Solve fails for a cubic

2010-03-02 Thread Alex Ghitza
On Tue, 2 Mar 2010 05:27:45 -0800 (PST), Sharpie wrote: > Thanks for the reply Alex. I think I understand that by choosing a > variable of the appropriate type, in this case one that is restricted > to the real numbers, the roots can be determined in a straight-forward > manner. The way I see it,

Re: [sage-support] Re: Setting up a sage server securely for students' use

2010-03-02 Thread David Kirkby
On 2 March 2010 21:44, Andrzej Giniewicz wrote: >> How about a new "Administering Sage" book added to the documentation? >> Setting up a campus server, security concerns, etc., could be noted in it. > > any news on this topic? I'll need something similar soon so I wonder > if I should use Byungchu

[sage-support] Re: Setting up a sage server securely for students' use

2010-03-02 Thread Jason Grout
On 03/02/2010 03:44 PM, Andrzej Giniewicz wrote: How about a new "Administering Sage" book added to the documentation? Setting up a campus server, security concerns, etc., could be noted in it. any news on this topic? I'll need something similar soon so I wonder if I should use Byungchuls descr

Re: [sage-support] Re: Setting up a sage server securely for students' use

2010-03-02 Thread Andrzej Giniewicz
> How about a new "Administering Sage" book added to the documentation? > Setting up a campus server, security concerns, etc., could be noted in it. any news on this topic? I'll need something similar soon so I wonder if I should use Byungchuls description and some digging or there is already some

[sage-support] Issues plotting a tree

2010-03-02 Thread M. Yurko
Hello, I've recently been creating some diagrams of trees with sage and have run into some difficulties getting the graphs to look decent. I have frequently run into issues with labels of vertices overlapping. Is there anyway to enforce a distance between vertices or otherwise ensure that the labe

[sage-support] Re: strange 3d plot

2010-03-02 Thread ma...@mendelu.cz
On 2 bře, 20:29, Jason Grout wrote: > The patch should pass doctests, correct the problem you noticed, and be > ready for review. > Incredibly fast, thank you! Robert Marik -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sa

[sage-support] Re: strange 3d plot

2010-03-02 Thread Jason Grout
On 03/02/2010 09:21 AM, ma...@mendelu.cz wrote: Dear sage-support If I plot 3d graph using sage: plot3d(sqrt(sin(x)*sin (y)), (x,0,12),(y,0,12) ) the output looks fine. The output of sage: plot3d(sqrt(sin(x)*sin (y)), (x,0,2*pi),(y,0,2*pi) ) should be different but it is completely wrong (no

Re: [sage-support] Re: numerator has a funny parent() -- intentional ?

2010-03-02 Thread Robert Bradshaw
On Mar 1, 2010, at 11:46 AM, Pierre wrote: oooh wait wait wait. I've said something totally confusing. My previous two posts apply to rational fractions... for which indeed, the numerator method gives the 'correct' answer ! The issue I raised in my original post is the 'funny' behaviour when yo

[sage-support] Re: strange 3d plot

2010-03-02 Thread Jason Grout
On 03/02/2010 09:21 AM, ma...@mendelu.cz wrote: Dear sage-support If I plot 3d graph using sage: plot3d(sqrt(sin(x)*sin (y)), (x,0,12),(y,0,12) ) the output looks fine. The output of sage: plot3d(sqrt(sin(x)*sin (y)), (x,0,2*pi),(y,0,2*pi) ) should be different but it is completely wrong (no

[sage-support] Re: numerator has a funny parent() -- intentional ?

2010-03-02 Thread luisfe
> -For the denominator: if there is a denominator function for the > coefficients and these denominators have a lcm function, then return > the lcm of the coefficients. This is an element of K, not K[x1,...,xn] ooops This sould read an element of wherever the denominator of elements in K live. --

[sage-support] Re: numerator has a funny parent() -- intentional ?

2010-03-02 Thread luisfe
On 1 mar, 20:46, Pierre wrote: > oooh wait wait wait. I've said something totally confusing. > > My previous two posts apply to rational fractions... for which indeed, > the numerator method gives the 'correct' answer ! The issue I raised > in my original post is the 'funny' behaviour when you a

[sage-support] strange 3d plot

2010-03-02 Thread ma...@mendelu.cz
Dear sage-support If I plot 3d graph using sage: plot3d(sqrt(sin(x)*sin (y)), (x,0,12),(y,0,12) ) the output looks fine. The output of sage: plot3d(sqrt(sin(x)*sin (y)), (x,0,2*pi),(y,0,2*pi) ) should be different but it is completely wrong (no graph and bounds for z from 0.0 to 0.0156

[sage-support] Re: Solve fails for a cubic

2010-03-02 Thread Sharpie
On Mar 1, 3:02 am, Alex Ghitza wrote: > On Sun, 28 Feb 2010 23:02:08 -0800 (PST), Sharpie > wrote: > > However, tonight I have been trying to solve an open channel flow > > problem which requires me to find the roots of: > > >   y^3 - 1.39027132807289 * y^2 + 0.090610488164005 == 0 > > > find_ro

[sage-support] Re: sage and readline problems

2010-03-02 Thread finotti
Dear all, Thank you very much Minh for the reply! On Mar 1, 3:33 pm, Minh Nguyen wrote: > I think it's not related to readline, but instead to something else. > See some recent threads [1,2] in sage-support and sage-devel for the > same/similar problem. They seem to be different problems, as