Info

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

Several Line Appearing as on check in plot browser

조회 수: 1 (최근 30일)
Joseph Caruso
Joseph Caruso 2012년 5월 24일
마감: MATLAB Answer Bot 2021년 8월 20일
I am trying to show the relationship between two point in a graph. I can connect them using line or plot, however, each line line segement appears in the plot browser as a check box. I want the interconnecting lines to appear as a single check box so I can turn them off and on easily.

답변 (1개)

Stephen
Stephen 2012년 5월 24일
mmm if you have a list of the points try making a single vector separated by Nan, which won't plot.
x=[p1;p2;NaN;p3;p4;NAN;p5....]; y=...same thing; h=plot(x,y)
set(h,'visible','off')

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

제품

Community Treasure Hunt

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

Start Hunting!

Translated by