Interested in changing line properties of sbioplot

조회 수: 2 (최근 30일)
Brett Fleisher
Brett Fleisher 2022년 4월 19일
댓글: Brett Fleisher 2022년 4월 19일
Hello,
I am interested in changing the line properties (width, color, dashed/solid) of the lines in an sbioplot but cannot find how to do this. My code is the following:
d = getdose(m1, 'My Dose');
sbioplot(sbiosimulate(m1,d));
Thanks in advance!

채택된 답변

Fulden Buyukozturk
Fulden Buyukozturk 2022년 4월 19일
Hello,
These can be set using line object handles, for example:
ax = sbioplot(sbiosimulate(m1,d));
h = findobj(ax, 'Type', 'line');
set(h(1), 'LineStyle', '--','LineWidth', 2, 'Color', [0 0.4470 0.7410])
set(h(2), 'LineWidth', 1)
Fulden

추가 답변 (0개)

커뮤니티

더 많은 답변 보기:  SimBiology Community

카테고리

Help CenterFile Exchange에서 Import Data에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by