> f:=x->(2*x-1)/((x+2)^2*(x-3));

[Maple Math]

> plot(f(x),x=-4..5,y=-5..20);

[Maple Plot]

> plot(f(x),x=-4..5,y=-5..20,discont=true);

[Maple Plot]

Diesen Zusatzbefehl kann man auch benutzen im Zusammenhang mit der anderen Möglichkeit, Graphen zu zeichnen.

> g:=x->2*x/(x-1);

[Maple Math]

> 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});

[Maple Plot]

>