필터 지우기
필터 지우기

overlaying multiple plots on the same set of axes

조회 수: 3 (최근 30일)
Tyler
Tyler 2014년 2월 2일
답변: the cyclist 2014년 2월 2일
Hi, I'm looking to overlay multiple plots on the same axes.
I am using ezplot for the plot of a function, and then i want to use the rectangle command to plot a box overtop of it.
It looks something like this:
rectangle('Position',[-slm,-stm,slm+slp,stm+stp]) ezplot(F11*x^2 + F22*y^2 + F1*x + F2*y + 2*F12*x*y - 1,[-2*slm,2*slp],[-2*stm,2*stp]);
any way to get these on the same set of axes?

답변 (1개)

the cyclist
the cyclist 2014년 2월 2일
Use the hold command.

카테고리

Help CenterFile Exchange에서 Line Plots에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by