[sage-support] Re: axes_color

2016-06-14 Thread Paul Masson
Take out the equals sign: p.axes_color((1,0,0)) On Tuesday, June 14, 2016 at 11:31:28 AM UTC-7, HG wrote: > > Axes color doesn't change, any help ? > thanks > HG > > > var('x');f(x)=sin(10*x)/(1+x^2) > > p=plot(f,(-3,3),color="green",plot_points=400, > figsize=(4,3),frame=True,gridlines=True);

[sage-support] substituting into a Sage/Python function

2016-06-14 Thread john_perry_usm
Hi! When demonstrating stuff in class, I often want the variable to be an argument to a function: def test_subs(f, a, x=x): print f(a) This works if f is a function. If f is not a function, Sage issues a DeprecationWarning (rightly, IMHO). So we could try this: def test_subs(f, a, x=x): p

[sage-support] axes_color

2016-06-14 Thread HG
Axes color doesn't change, any help ? thanks HG var('x');f(x)=sin(10*x)/(1+x^2) p=plot(f,(-3,3),color="green",plot_points=400, figsize=(4,3),frame=True,gridlines=True); p.tick_label_color('red'); p.fontsize(7);p.axes_color=((1,0,0)); p.show() -- You received this message because you are subsc

[sage-support] Sage Interacts in R

2016-06-14 Thread Thomas Judson
Does anyone have any experience writing interacts for R? If so, can you post or send examples? Tom Judson -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage

[sage-support] Re: Sage Sum vs Python Sum

2016-06-14 Thread slelievre
Le lundi 13 juin 2016 17:35:47 UTC+2, saad khalid a écrit : > > Thanks for the help guys! :) > On a related note, see this ask-sage question about plugging in a bound for the sum starting from a symbolic sum. http://ask.sagemath.org/question/9965/calculating-terms-of-a-series/ -- You receive