Why isn't ezplot holding on?
Show older comments
% settings for figure and axis
figuraT1 = figure('Name',title,'Position', get(0,'Screensize'));
maxfig(figuraT1,1);
assiT1 = axes('Parent', figuraT1);
dim=length(fsymarr);
for i=1:dim
ezplot(fsymarr(i),[min,max],figuraT1)
hold on
end
grid on
set(assiT1, 'LineWidth',1.5);
set(assiT1,'FontSize',14,'FontWeight','bold','FontAngle','Italic');
ylabel('Y Values');
xlabel('X Values');
Why does the function ezplot plot only the last function in the array fsymarr?
4 Comments
Walter Roberson
on 23 Apr 2013
What is class(fsymarr) ?
Alessio Nava
on 23 Apr 2013
Walter Roberson
on 23 Apr 2013
What does
class(fsymarr)
show ? I need to know in order to tell you the correct solution.
Also I will need to know your MATLAB version number.
Alessio Nava
on 24 Apr 2013
Accepted Answer
More Answers (0)
Categories
Find more on Time Series Events in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!