you can know the nature of the graph and its diagram by just changing the dependence of y with respected to x in the part "set y to--"
all rights reserved to me