What is the difference between fplot and ezplot
조회 수: 10 (최근 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!