discrete plot



Ike Hylkema wrote:
> I want a discrete plot of a function.
> For instance:
>  
> declare(n,integer)
> a: abs(n)
>  
> Now I want a plot of the points a(n),n. for -5 <= n <= 5
>  
> How do I perform this in WXMaxima?
> I try it with wxplot2d([a], [n,-5,5])$, but I get a continuous plot.
> Using discrete plot gives a Lisp- error.
> 

Simple example in maxima:

(%i5) plot2d([discrete, makelist([i,abs(i)],i,-5,5)], [style, points])$

But don't know how to do this in WXMaxima.

Jaap


> 
> Thamks for your help,
> 
> Ike Hylkema
> The Netherlands
> 
> ic.hylkema at gmail.com <mailto:ic.hylkema at gmail.com>
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Maxima mailing list
> Maxima at math.utexas.edu
> http://www.math.utexas.edu/mailman/listinfo/maxima