画函数在定义域内的图像,不要全部的图像

法一:
f(x)=If[x<=3&&x>=1,x^2]
可以作出x的平方在1到3范围内的图像
法二:
Function[x^2,1,3]
等价于法一

摘自https://tieba.baidu.com/p/4911584044

原文地址:https://www.cnblogs.com/zwying/p/15246536.html