If I have a function
def function(self, x, A, B)
......
How can I plot a continuous graph of it over a range of say x=[0,150000] (A/B are constants and can be changed on each call).
Even discrete values is fine. However it is inefficient to make a list of all function values then plot each one?