Page 1 sur 1

plot does not show portions of graph

Publié : sam. nov. 12, 2022 11:35 am
par lukamar
letting

Code : Tout sélectionner

f:=Heaviside(x+1)*(x+1)+x*Heaviside(x)*(x-1)-Heaviside(x-1)*(x-1)*(x+2)
the command

Code : Tout sélectionner

plot(f,x=-3..3)
does not display the portion for 1<=x<=3. However, subs(f,x=2) returns 1.