[sage-support] Re: Wrong plotting!

2008-09-10 Thread Sand Wraith
On Sep 9, 1:29 am, Jason Merrill <[EMAIL PROTECTED]> wrote: > On Sep 8, 4:12 pm, Sand Wraith <[EMAIL PROTECTED]> wrote: > > > > > Hi all! > > > I do not know - it is an bug, or my mistake. I am trying to plot sum > > of a few same functions: > > > This is my function: > > B=10*sqrt( pi)/7; > > b

[sage-support] Re: Wrong plotting!

2008-09-08 Thread Jason Merrill
On Sep 8, 4:12 pm, Sand Wraith <[EMAIL PROTECTED]> wrote: > Hi all! > > I do not know - it is an bug, or my mistake. I am trying to plot sum > of a few same functions: > > This is my function: > B=10*sqrt( pi)/7; > b=pi/7; > c(f)=B*exp(-(b*f)^2); > plot(c(f),(f,-5,5)); > > in the output i see co

[sage-support] Re: Wrong plotting.

2008-04-06 Thread William Stein
On Sun, Apr 6, 2008 at 1:35 AM, Eugene <[EMAIL PROTECTED]> wrote: > > Hi all! > > Help please, I can not understand what is wrong with this: > > f(x)=x; > def g(x): > if (x>=0): > return f(x) > else: > return f(-x); > > show(plot(g(x),(x,-1,1))) #form1 > show(plot(g,-