[sage-support] Re: problem with attach

2008-09-29 Thread Jan Peeters
Thanks. This answers my question completely. On 25 sep, 19:40, "William Stein" <[EMAIL PROTECTED]> wrote: > On Thu, Sep 25, 2008 at 2:09 AM, Jan Peeters <[EMAIL PROTECTED]> wrote: > > > I have a worksheet "Getaltheorie" in my Worksheet List. When i give > > the command attach Getaltheorie (or att

[sage-support] Setting the bounding box on plot3d

2008-09-29 Thread Matt Rissler
Is there any way for the user to set the bounding box on plot3d? The basic idea is I don't want the full z-values for the function and would like to crop some of them off. The best I've come up with so far without hunting through source files is: y=var('y') f=lambda x,y: min(x^2+y^2,4); plot3d(

[sage-support] Re: aspect_ratio in 3d

2008-09-29 Thread William Stein
On Mon, Sep 29, 2008 at 4:17 PM, John H Palmieri <[EMAIL PROTECTED]> wrote: > > On Sep 29, 3:51 pm, "William Stein" <[EMAIL PROTECTED]> wrote: >> On Mon, Sep 29, 2008 at 2:22 PM, John H Palmieri <[EMAIL PROTECTED]> wrote: >> >> Try frame_aspect_ratio, which is probably what you really want >> give

[sage-support] Re: Lost notebook worksheets after updating

2008-09-29 Thread mabshoff
On Sep 29, 3:33 pm, "William Stein" <[EMAIL PROTECTED]> wrote: > On Mon, Sep 29, 2008 at 2:27 PM, Rolandb <[EMAIL PROTECTED]> wrote: > > > Several times I indicated the same problem but until now no action. > > It's definitely not due to lack of desire on our part.  It's just that there > are so

[sage-support] Re: aspect_ratio in 3d

2008-09-29 Thread John H Palmieri
On Sep 29, 3:51 pm, "William Stein" <[EMAIL PROTECTED]> wrote: > On Mon, Sep 29, 2008 at 2:22 PM, John H Palmieri <[EMAIL PROTECTED]> wrote: > > Try frame_aspect_ratio, which is probably what you really want > given your questions. Hmm. You're right -- that it is probably what I really want -- b

[sage-support] Re: sageplot axis numbering

2008-09-29 Thread William Stein
On Sat, Sep 27, 2008 at 4:36 AM, Munthe <[EMAIL PROTECTED]> wrote: > > Hey > > I'm writing a paper about the trigonometric functions, using LaTeX and > sagetex. And would therefore like to chance the the default numbering > on the x-axis to a pi scale. Unfortunately, this is currently not support

[sage-support] Re: aspect_ratio in 3d

2008-09-29 Thread William Stein
On Mon, Sep 29, 2008 at 2:22 PM, John H Palmieri <[EMAIL PROTECTED]> wrote: > > I don't understand aspect_ratio for 3d plots, or maybe there are bugs. > If I do (from the notebook interface) > > sage: var('x y') > sage: Q = plot3d(sin(x+y), (-3,3), (-2,2)) > sage: Q.show() > > then I get a nice pi

[sage-support] Re: Lost notebook worksheets after updating

2008-09-29 Thread William Stein
On Mon, Sep 29, 2008 at 2:27 PM, Rolandb <[EMAIL PROTECTED]> wrote: > > Several times I indicated the same problem but until now no action. It's definitely not due to lack of desire on our part. It's just that there are so many things to do, and so little time. The simplest solution would be to

[sage-support] Re: Lost notebook worksheets after updating

2008-09-29 Thread Rolandb
Several times I indicated the same problem but until now no action. I just save my worksheets (around 30) manually and recover the *.sws files one by one in the new SAGE version. Life is hard Roland On 29 sep, 14:11, Daniel Loughran <[EMAIL PROTECTED]> wrote: > I am currently using sage on w

[sage-support] Re: How do I extend an extension field?

2008-09-29 Thread William Stein
On Mon, Sep 29, 2008 at 10:54 AM, David Møller Hansen <[EMAIL PROTECTED]> wrote: > > Thank you David. This seems to work just fine, though a bit of a > roundabout - I agree. > > I do not understand why sage doesn't have a command just letting you > expand a Galois field with a arbitrary expansion

[sage-support] aspect_ratio in 3d

2008-09-29 Thread John H Palmieri
I don't understand aspect_ratio for 3d plots, or maybe there are bugs. If I do (from the notebook interface) sage: var('x y') sage: Q = plot3d(sin(x+y), (-3,3), (-2,2)) sage: Q.show() then I get a nice picture, with a labeled frame showing x going from -3 to 3, y from -2 to 2, z from -1 to 1. Th

[sage-support] Re: How do I extend an extension field?

2008-09-29 Thread Justin C. Walker
On Sep 29, 2008, at 12:33 PM, David Møller Hansen wrote: > > This is great, this is actually how I initially hoped it could be > done. > > And yes - I am quite new to SAGE. > > It's though still a bit messy, since when I in F2 request a > random_element() I will only get "1" or "0". I think 'me

[sage-support] Re: formatting not saved in notebooks

2008-09-29 Thread Mike Hansen
Hello, On Mon, Sep 29, 2008 at 7:00 AM, Stan Schymanski <[EMAIL PROTECTED]> wrote: > As of version 3.1.2, plots are saved correctly in notebooks. Thanks to > those that fixed it. However, I noticed that the formatting of cells > beginning with "%hide %html" is not saved. I need to re-evaluate all

[sage-support] Re: How do I extend an extension field?

2008-09-29 Thread David Møller Hansen
This is great, this is actually how I initially hoped it could be done. And yes - I am quite new to SAGE. It's though still a bit messy, since when I in F2 request a random_element() I will only get "1" or "0". /David On Sep 29, 9:12 pm, "Justin C. Walker" <[EMAIL PROTECTED]> wrote: > On Sep

[sage-support] Re: How do I extend an extension field?

2008-09-29 Thread Justin C. Walker
On Sep 29, 2008, at 10:51 AM, David Møller Hansen wrote: > > Thank you for you answer Justin and I should also apologize for my > badly formulated question but you understood it correctly. > > I just can't get SAGE to eat the line you write f=x^2+x+F1(1), it > complains with: TypeError: unsuppor

[sage-support] Re: problem with animate on OS X 10.5, Sage 3.1.2

2008-09-29 Thread mabshoff
On Sep 29, 11:15 am, John H Palmieri <[EMAIL PROTECTED]> wrote: > On Sep 29, 7:40 am, Jason Grout <[EMAIL PROTECTED]> wrote: > > > > > Seehttp://trac.sagemath.org/sage_trac/ticket/975fora solution that is > > already put in place.  Basically, use > > $SAGE_ROOT/local/bin/sage-native-execute, whi

[sage-support] Re: problem with animate on OS X 10.5, Sage 3.1.2

2008-09-29 Thread John H Palmieri
On Sep 29, 7:40 am, Jason Grout <[EMAIL PROTECTED]> wrote: > > See http://trac.sagemath.org/sage_trac/ticket/975for a solution that is > already put in place.  Basically, use > $SAGE_ROOT/local/bin/sage-native-execute, which does exactly what > mabshoff says above. So like the following?

[sage-support] Re: formatting not saved in notebooks

2008-09-29 Thread mabshoff
On Sep 29, 10:17 am, "William Stein" <[EMAIL PROTECTED]> wrote: > On Mon, Sep 29, 2008 at 7:00 AM, Stan Schymanski <[EMAIL PROTECTED]> wrote: > > > Dear all, > > > As of version 3.1.2, plots are saved correctly in notebooks. Thanks to > > those that fixed it. However, I noticed that the formatti

[sage-support] Re: How do I extend an extension field?

2008-09-29 Thread David Møller Hansen
Thank you David. This seems to work just fine, though a bit of a roundabout - I agree. I do not understand why sage doesn't have a command just letting you expand a Galois field with a arbitrary expansion degree, in my case 4. /David --~--~-~--~~~---~--~~ To post

[sage-support] Re: How do I extend an extension field?

2008-09-29 Thread David Møller Hansen
Thank you for you answer Justin and I should also apologize for my badly formulated question but you understood it correctly. I just can't get SAGE to eat the line you write f=x^2+x+F1(1), it complains with: TypeError: unsupported operand parent(s) for '+': 'Symbolic Ring' and 'Finite Field in a

[sage-support] Re: How do I extend an extension field?

2008-09-29 Thread daveloeffler
Here's an alternative approach: sage: F1 = GF(2^7,'a'); F2 = GF(2^28,'b') # different names for legibility sage: F1.gen().minpoly().roots(F2) [ long list ] sage: g = F1.gen().minpoly().roots(F2)[0][0] sage: phi = Hom(F1, F2)(g) This is a bit roundabout, but it works. Unfortunately at present you

[sage-support] Re: formatting not saved in notebooks

2008-09-29 Thread William Stein
On Mon, Sep 29, 2008 at 7:00 AM, Stan Schymanski <[EMAIL PROTECTED]> wrote: > > Dear all, > > As of version 3.1.2, plots are saved correctly in notebooks. Thanks to > those that fixed it. However, I noticed that the formatting of cells > beginning with "%hide %html" is not saved. I need to re-eval

[sage-support] Re: How do I extend an extension field?

2008-09-29 Thread Justin C. Walker
On Sep 29, 2008, at 8:50 AM, David Møller Hansen wrote: > > Let F2=GF(2^7,'a'), E=EllipticCurve(F1,[0,0,1,1,1]), > P=E.random_point(), F2=GF((2^7)^4,'a') > > Purpose: I want to look at the point P in the curve over F2 instead of > F1. So I some way I want to extend F1. > > My question is how do

[sage-support] How do I extend an extension field?

2008-09-29 Thread David Møller Hansen
Let F2=GF(2^7,'a'), E=EllipticCurve(F1,[0,0,1,1,1]), P=E.random_point(), F2=GF((2^7)^4,'a') Purpose: I want to look at the point P in the curve over F2 instead of F1. So I some way I want to extend F1. My question is how do I, when I already have an extension field F1, extend it to F2 in a way s

[sage-support] Re: problem with animate on OS X 10.5, Sage 3.1.2

2008-09-29 Thread Jason Grout
William Stein wrote: > On Sat, Sep 27, 2008 at 5:51 PM, mabshoff > <[EMAIL PROTECTED]> wrote: >> >> >> On Sep 27, 5:41 pm, John H Palmieri <[EMAIL PROTECTED]> wrote: >>> Can anyone else reproduce this? >> I can't since I do not have convert on a Mac, but the problem is that >> we switched to a dyn

[sage-support] formatting not saved in notebooks

2008-09-29 Thread Stan Schymanski
Dear all, As of version 3.1.2, plots are saved correctly in notebooks. Thanks to those that fixed it. However, I noticed that the formatting of cells beginning with "%hide %html" is not saved. I need to re-evaluate all of those cells to get the formatting back. Is this a bug in SAGE or does it ha

[sage-support] Lost notebook worksheets after updating

2008-09-29 Thread Daniel Loughran
I am currently using sage on windows, and I recently upgraded my sage to the latest version, but was disappointed to discover that the notebook had been reset and I had lost all my worksheets. Is there anyway to recover them? Or to save them externally so that I do not lose them again? Shouldnt t