Although I don't know exactly what kind of plots you want to do, or what are the variables involved, sometimes it helps to use the simplest plotting functions: plot, plot3 for 1 independent variable or surf, contour for 2 independent variables. Many of the more advanced plotting functions do this.
The procedure is as follows:
- Decide what kind of plot you want to do
- Evaluate your functions over a grid of values for the independent variables
- plot the points, or surf or contour them.
For instance, the fplot function allows you to plot a function (of 1 independent variable) from the equation of that function. But you can just calculate a number of points and use the simpler plot
Example in the documentation:
xt = @(t) cos(3*t);
yt = @(t) sin(2*t);
Example with plot:
tp = linspace(-5, 5, 101);
xtp = cos(3 * tp);
ytp = sin(3 * tp);
plot(xtp, ytp, '-')