More plot area ezplot

61 views (last 30 days)
Pavel on 13 May 2014
Edited: A Jenkins on 13 May 2014
Hi. I ploteted 2 symbolic functions and I need to see on plot where they have the common domain. When I move my plot to the left, with the pan tool, the function's graphic stops and I'm not able to see the common domain. How can I see more of the function plot? Thank you.
The code is:
syms x
%functia obiectiv
set(f,'Color','black', 'LineWidth', 2)
hold on
%conditia la limita
set(j,'Color','red', 'LineWidth', 2)
grid on

Accepted Answer

A Jenkins
A Jenkins on 13 May 2014
Edited: A Jenkins on 13 May 2014
help ezplot
to learn more ways to use ezplot. You will see the following statement:
ezplot(FUN,[A,B]) plots FUN(X) over A < X < B

More Answers (1)

Dishant Arora
Dishant Arora on 13 May 2014
By default ezplot plots over the range -pi to pi. You can explicitly specify the range:


Find more on Line Plots in Help Center and File Exchange


Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by