How would I change the output values on the initialplot graph?
4 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
I used the initialplot command, and can not seem to figure out how to change the 'To: out' values on the side of the plot to the actual output values i have. Thank you in advance!

0 commentaires
Réponse acceptée
dpb
le 27 Juin 2025
Modifié(e) : dpb
le 27 Juin 2025
sys = ss([0, tf([3 0],[1 1 10]) ; tf([1 1],[1 5]), tf(2,[1 6])]);
x0 = [0.3,0.25,1,4];
ip = initialplot(sys,x0);
ip.OutputLabels.String=["Output A";"Output B"]; % change the labels
ip.OutputLabels.Color='r'; % highlight what we modified
title("Initial Condition Plot of MIMO System sys(s)")
grid on
See the <documentation for the initialplot object> for all the details....it appears the "To: " prefix is hardcoded and immutable. It also appears the axis format property is hidden so one can't fix the ugly disparity in precision of the upper axes.
ip.AxesStyle
0 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Time and Frequency Domain Analysis 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!