What is the difference between fplot and ezplot
6 ビュー (過去 30 日間)
古いコメントを表示
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 件のコメント
George
2013 年 9 月 11 日
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);
回答 (1 件)
Walter Roberson
2012 年 6 月 17 日
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 件のコメント
参考
カテゴリ
Help Center および File Exchange で Line Plots についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!