On Mon, Oct 4, 2010 at 4:03 PM, jpc <pedrocruzave...@gmail.com> wrote:
> Why does the plot
>   plot(k%1,k,0,5)

For a symbolic variable 'k', k%1 returns an error since the notion of
a symbolic mod operation hasn't been implemented.

> What can be used instead ?

You can just delay the application of the mod operation:

plot(lambda z: z%1.0, 0, 5)

--Mike

-- 
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 options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org

Reply via email to