> f:=x->(2*x-1)/((x+2)^2*(x-3));
> plot(f(x),x=-4..5,y=-5..20);
> plot(f(x),x=-4..5,y=-5..20,discont=true);
Diesen Zusatzbefehl kann man auch benutzen im Zusammenhang mit der anderen Möglichkeit, Graphen zu zeichnen.
> g:=x->2*x/(x-1);
> with(plots):
> graphf:=plot(f(x),x=-4..5,y=-10..20,discont=true,colour=red):
> graphg:=plot(g(x),x=-4..5,y=-10..20,discont=true,colour=blue):
> display({graphf,graphg});
>