An 
improvement to the method below is to DIVIDE by the conditions that specify the 
domain:
 
Y1 = 
(X^3 - 12X + 1) / ((X > -3) and (X < 3))
 
This 
way, instead of getting 0 when you are out of range, the function will be 
undefined (which seems to be the effect you were looking 
for).
 
On a 
related note, if you wanted to graph a piecewise defined function, you could do 
it as follows.
 
Y1 = 
(X^2)*(X <= 0) + (2X - 5) * (X > 0)
 
This 
way, when X <= 0, the right hand side of the addition will be 0, and when X 
> 0, the left hand side would be 0 instead.
 
Norm 
Krumpe