What is the difference between fplot and ezplot
20 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
They can both take nonNumeric-Symbolic expression as input and plot a graph. Is there some difference between them that I need to be aware of?
1 Commento
George
il 11 Set 2013
ezplot returns a handle to the plot objects created; fplot returns the [X,Y] points created.
Use the former to manipulate the style after drawing: fh=ezplot(f,xl); set(fh,'Color','r','LineWidth',2);
Use the latter to set the style at the same time: [x, y]=fplot(f,xl); plot(x,y,'r-','LineWidth',2);
Risposte (1)
Walter Roberson
il 17 Giu 2012
fplot() generates one plot line per output column, from a vector input.
ezplot() with 2 variables generates an implicit plot of the expression evaluating to 0.
0 Commenti
Vedere anche
Categorie
Scopri di più su Line Plots in Help Center e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!