I guess as an aside did you write the plotting part or used some library?
type:0 just means a regular y=f(x) function