Effacer les filtres
Effacer les filtres

Interested in changing line properties of sbioplot

2 vues (au cours des 30 derniers jours)
Brett Fleisher
Brett Fleisher le 19 Avr 2022
Commenté : Brett Fleisher le 19 Avr 2022
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!

Réponse acceptée

Fulden Buyukozturk
Fulden Buyukozturk le 19 Avr 2022
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

Plus de réponses (0)

Communautés

Plus de réponses dans  SimBiology Community

Catégories

En savoir plus sur Import Data dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by