필터 지우기
필터 지우기

Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

seperate multiple graphs(which are in one plot) into several plots

조회 수: 1 (최근 30일)
Alon
Alon 2013년 12월 25일
마감: MATLAB Answer Bot 2021년 8월 20일
Hi, I need to seperate the combined graph added(created in fdatool) into 2 graphs(one above the other) like the subplot function do. How can I do it?
  댓글 수: 1
dpb
dpb 2013년 12월 25일
I've yet to use it "in anger" but reading the doc looks like maybe fvtool will let you return the evaluated properties of the filter that you can the use to pass to subplot...

답변 (1개)

Walter Roberson
Walter Roberson 2013년 12월 25일
all_lines = findobj(0, 'type', 'line');
Having picked out all the line objects of all the graphs, you can then get() their Parent and look at their parent's Xlabel and so on to be sure you have the right line. You can check the line Color property to tell which of the two lines you have. You can copyobj() the entire axes, with all information, then adjust the Position properties so that they are not right on top of each other. You can remove one copied line object from each so that only one of the two appears in each of the two axes.

이 질문은 마감되었습니다.

Community Treasure Hunt

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

Start Hunting!

Translated by