[sage-support] Re: Plotting Python functions of two variables

2011-04-08 Thread Jason Grout
On 4/8/11 2:00 PM, John H Palmieri wrote: On Friday, April 8, 2011 11:03:14 AM UTC-7, ObsessiveMathsFreak wrote: I have a python type function taking two variables is defined in such a say that accidental evaluation is a possibility. Here is a simplified version def h(x,n):

Re: [sage-support] An error occurred while installing cddlib-094f.p8

2011-04-08 Thread Justin C. Walker
On Apr 8, 2011, at 21:56 , Olalékan ABOU BAKAR wrote: > Got an error while building sage-4.6.2 from source on CentOS 32 bits > > Any lead to solve this issue will be much appreciated? Normally, one might get better support by providing some details regarding the problem encountered. Among ot

[sage-support] An error occurred while installing cddlib-094f.p8

2011-04-08 Thread Olalékan ABOU BAKAR
Got an error while building sage-4.6.2 from source on CentOS 32 bits Any lead to solve this issue will be much appreciated? -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For more opt

[sage-support] Re: Plotting Python functions of two variables

2011-04-08 Thread John H Palmieri
On Friday, April 8, 2011 3:59:23 PM UTC-7, ObsessiveMathsFreak wrote: > > This notation isn't very flexible though. For example, suppose I > wanted to plot h(-x,n) over the same range. > > Can this be done without calling the symbolic engine? Is there a way > to bypass symbolic plots altogethe

[sage-support] Re: Plotting Python functions of two variables

2011-04-08 Thread Kelvin Li
> On Apr 8, 11:25 pm, John H Palmieri wrote: > > > On Friday, April 8, 2011 2:51:03 PM UTC-7, ObsessiveMathsFreak wrote: > > > > That worked, thank you. But I don't understand why the standard > > > notation has so many problems. What exactly is going wrong? > > > I think this is what's going on:

[sage-support] Re: Plotting Python functions of two variables

2011-04-08 Thread ObsessiveMathsFreak
This notation isn't very flexible though. For example, suppose I wanted to plot h(-x,n) over the same range. Can this be done without calling the symbolic engine? Is there a way to bypass symbolic plots altogether? On Apr 8, 11:25 pm, John H Palmieri wrote: > On Friday, April 8, 2011 2:51:03 PM

[sage-support] Re: Plotting Python functions of two variables

2011-04-08 Thread John H Palmieri
On Friday, April 8, 2011 2:51:03 PM UTC-7, ObsessiveMathsFreak wrote: > > That worked, thank you. But I don't understand why the standard > notation has so many problems. What exactly is going wrong? > I think this is what's going on: if you start with this: > > def h(x,n): > > >if x>2

[sage-support] Re: Plotting Python functions of two variables

2011-04-08 Thread ObsessiveMathsFreak
That worked, thank you. But I don't understand why the standard notation has so many problems. What exactly is going wrong? On Apr 8, 8:00 pm, John H Palmieri wrote: > On Friday, April 8, 2011 11:03:14 AM UTC-7, ObsessiveMathsFreak wrote: > > > I have a python type function taking two variables i

[sage-support] Re: Graphics Array and latex legends

2011-04-08 Thread achrzesz
This works for me: p1=plot(x^2, (x, -pi, pi),label="f") G=graphics_array(((p1,p1),(p1,p1))) G.show(figsize=[8,8]) On 8 Kwi, 18:54, ObsessiveMathsFreak wrote: > I'm encountering a problem with graphics_array and latex use in plots. > The following command works fine > > p1=plot(x^2, (x, -pi, pi),

[sage-support] Re: Graphics Array and latex legends

2011-04-08 Thread kcrisman
On Apr 8, 1:04 pm, ObsessiveMathsFreak wrote: > Actually, to correct myself, it appears that the problem is not latex > in the legend label, but the mere presence of a legend label at all. > > The following still produces an "pop" error > > p1=plot(x^2, (x, -pi, pi), color='blue',legend_label="f

[sage-support] Re: Plotting Python functions of two variables

2011-04-08 Thread achrzesz
Or: sage: plot(lambda x: h(x,3), (x, 0, 4),exclude=[2]) On 8 Kwi, 21:00, John H Palmieri wrote: > On Friday, April 8, 2011 11:03:14 AM UTC-7, ObsessiveMathsFreak wrote: > > > I have a python type function taking two variables is defined in such > > a say that accidental evaluation is a possibili

[sage-support] Re: Plotting Python functions of two variables

2011-04-08 Thread John H Palmieri
On Friday, April 8, 2011 11:03:14 AM UTC-7, ObsessiveMathsFreak wrote: > > I have a python type function taking two variables is defined in such > a say that accidental evaluation is a possibility. Here is a > simplified version > > def h(x,n): >if x>2: >return n-x >

[sage-support] Plotting Python functions of two variables

2011-04-08 Thread ObsessiveMathsFreak
I have a python type function taking two variables is defined in such a say that accidental evaluation is a possibility. Here is a simplified version def h(x,n): if x>2: return n-x else: return n*x-2 How can functions like this be plotted over x for a constant

[sage-support] Re: Graphics Array and latex legends

2011-04-08 Thread ObsessiveMathsFreak
Actually, to correct myself, it appears that the problem is not latex in the legend label, but the mere presence of a legend label at all. The following still produces an "pop" error p1=plot(x^2, (x, -pi, pi), color='blue',legend_label="f") G=graphics_array(((p1,p1),(p1,p1))) G.show(figsize=[8,8]

[sage-support] Graphics Array and latex legends

2011-04-08 Thread ObsessiveMathsFreak
I'm encountering a problem with graphics_array and latex use in plots. The following command works fine p1=plot(x^2, (x, -pi, pi), color='blue') G=graphics_array(((p1,p1),(p1,p1))) G.show(figsize=[8,8]) But if latex code is added to the plot legend it produced and error p1=plot(x^2, (x, -pi, pi)

[sage-support] Re: sagenb.org

2011-04-08 Thread zieglerk
On Apr 6, 7:31 pm, William Stein wrote: > On Fri, Apr 1, 2011 at 8:31 AM, VictorMiller wrote: > > Is sagenb.org having problems?  I tried to log on yesterday (and > > today, just now), and it said that my username was unknown! I have the same problem with the username zieglerk I recreated the