You could do the following:
1. Decide on your range xmax, xmin
2. Decide on the number of points you want to plot (say N=1,000)
3. Declare an Axis vector with the axis points and a Y = zeros(1,N) vector to receive the results of the calculation
4. Use a loop to perform the calc y = ...