Opening diffrent ezplot in a new/multiple window
조회 수: 2 (최근 30일)
이전 댓글 표시
Hello! I dont manage to open two diffrent ezplot in a new window for each of them. here the 2 functions: syms x y=1/20*x^2-6/25*x+1/(x^2+1) ezplot(y)
yprim=diff(y) ezplot(yprim)
ezplot(f,fign) displays the plot in the plot window with the number fign. The title of each plot window contains the word Figure and the number, for example, Figure 1, Figure 2, and so on. If the plot window with the number fign is already opened, ezplot overwrites the content of that window with the new plot.
So I tried ezplot(y,fign),ezplot(y,fig1),ezplot(y,fign 1),ezplot(y,fig 1), then I triead all variants with '' (like ezplot(y,'fign'). I tried ezplot(y,test1) ....I just dont know how to do it, please help. I want each plot in one window to compair them (but dont want them in one graph, cause it is not requestet in the assignment I am doing)
Thanks!!
댓글 수: 0
답변 (3개)
Mischa Kim
2014년 2월 20일
편집: Mischa Kim
2014년 2월 20일
Hello Dennis, put a figure command between each of the ezplot commmands.
Alternatively, try and see how you like this one:
syms x
y=1/20*x^2-6/25*x+1/(x^2+1)
yprim=diff(y)
subplot(2,1,1)
ezplot(y)
subplot(2,1,2)
ezplot(yprim)
댓글 수: 1
Mischa Kim
2014년 2월 21일
편집: Mischa Kim
2014년 2월 21일
As pointed out above, use the figure command.
syms x
y=1/20*x^2-6/25*x+1/(x^2+1)
yprim=diff(y)
figure
ezplot(y)
figure
ezplot(yprim)
Please use comments for follow-up comments and questions, not answers.
참고 항목
카테고리
Help Center 및 File Exchange에서 Particle & Nuclear Physics에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!