[sage-support] plotting contours using Sage

2009-05-19 Thread Greg
Hi, I have a set of data that I want to create a contour plot for. Since I have the data and not the function that created the data, I cannot use contour_plot. Matplotlib has a function "contour" that accepts a vector of data and does exactly what I want expect I cannot get it to work in Sage note

[sage-support] Converting matrix groups into permutation groups

2009-05-19 Thread javier
Hi there, just playing around this time, tried to use SAGE to compute the Weyl group associated to the Cartan matrix [2, -1, 0] [-1, 2, 0] [0, -1, 2] that should be the usual permutation group S_4. After obtaining the generators s1= [-1 0 0] [ 1 1 0] [ 0 0 1], s2 = [ 1 1 0] [ 0 -1 0]

[sage-support] Re: Converting matrix groups into permutation groups

2009-05-19 Thread David Joyner
1. you can coerce the coefficients to GF(3) 2. You can try G1 = gap(G) and G2 = gap(SymmetricGroup(4)) and G1.IsomorphismGroups(G2): sage: s1 = [-1, 0, 0] sage: s1 = matrix([[-1, 0, 0], [1, 1, 0], [0, 0, 1]]) sage: s2 = matrix([[1, 1, 0], [0, -1, 0], [0, 1, 1]]) sage: s3 = matrix(

[sage-support] Re: plotting contours using Sage

2009-05-19 Thread William Stein
On Tue, May 19, 2009 at 9:13 AM, Greg wrote: > > Hi, I have a set of data that I want to create a contour plot for. > Since I have the data and not the function that created the data, I > cannot use contour_plot. Matplotlib has a function "contour" that > accepts a vector of data and does exactly

[sage-support] Re: Building Sage 3.4.2 under Arch Linux, 32 bit intel atom

2009-05-19 Thread prhlava
Hello all, > Just to confirm this, I have built 4.0.alpha0 successfully on two > different laptops running archlinux (with gcc 4.4.0). I can also confirm that 4.0alpha0 builds on latest ArchLinux (had a bit of spare time). Kind regards, Vlad --~--~-~--~~~---~--~---

[sage-support] Re: Converting matrix groups into permutation groups

2009-05-19 Thread javier
Hi David On May 19, 5:51 pm, David Joyner wrote: > 1. you can coerce the coefficients to GF(3) Can I? The generators are still distinct in GF(3), but I might lose elements when I take products (maybe not in this case, I am thinking about the general problem for an arbitrary Weyl group). Wouldn'

[sage-support] Re: Converting matrix groups into permutation groups

2009-05-19 Thread David Joyner
On Tue, May 19, 2009 at 1:36 PM, javier wrote: > > Hi David > > On May 19, 5:51 pm, David Joyner wrote: >> 1. you can coerce the coefficients to GF(3) > > Can I? The generators are still distinct in GF(3), but I might lose > elements when I take products (maybe not in this case, I am thinking >

[sage-support] twisted server help

2009-05-19 Thread Mikie
I am using Robert's twist.py to try to setup a simple server. The server side is working. I need help getting the client side to work. I would like to have the client use a screen(form) that would allow him to input an expression and lets say the server will calculate the integral and return t

[sage-support] Re: plotting contours using Sage

2009-05-19 Thread Maurizio
Although I can't try it right now, I think the main point is this: > sage: savefig('sage.png') > > William >From SAGE, I think you have always to postpone the savefig() command after a matplotlib graph generation, to make it save the graph to an image file. By doing this, the notebook will autom