See if this does what you want:
y = ...
fy = f(1,y);
Depending upon how you define the fuction and how you want to plot it, you may need:
instead of the scalar value of 1.
Then the plot call would be:
Depending on how you wrote the function.