[sage-support] plotting box function

2011-02-04 Thread Renato Budinich
hello, why is the below code plotting a flat function rather than a box one? renato def box(x,c): if abs(x) < c: return 1 else: return 0 var('x') plot(box(x,1),(x,-3,3)) -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group

Re: [sage-support] plot(): no ticks and arrow on axes?

2011-01-31 Thread Renato Budinich
On Mon, Jan 31, 2011 at 12:48 AM, Francois Maltey wrote: > Renato a écrit : > > Hello, I can't understand how the ticks option works in plot()... I >> want to have no ticks or labels on the axis. >> >> Also, is it possible to show the arrows on the axis? like this: >> http://www.homeschoolmath.n

[sage-support] newbie: plotting sum of cosines...complex values?

2011-01-30 Thread Renato Budinich
Hello, I'd like to plot this function of x (latex code): x/2 + sum_{r=1}^n cos(rx) for some fixed n. However I'm running into problems... as I understand it sage converts the sum of cosines in a sum of exponentials, but then somehow doesn't get real values (and thus can't plot the function in the p

[sage-support] dynamical systems

2010-03-30 Thread Renato Budinich
Hello, I'm studying a course in dynamical systems and I was wondering if, given a differential equation, there are easy (i.e. not writing the functions myself) ways, in SAGE, to: 1- draw phase portraits 2- draw bifurcation diagrams currently I'm concerned mainly about continous 1-dimensional aut