The above command will open the Property Inspector for the line object. You can modify the properties of the line from here.
Question
How do I modify line properties in plots created from the Control and Estimation Tools Manager in Simulink Control Design 2.0.1 (R2006b)? In the Control and Estimation Tools Manager, I can create plots such as Bode plots. I want to modify figure properties such as the color of the lines as I would in a regular MATLAB figure.
Expert Answer
Prashant Kumar
PhD Expert
Answered Nov 20, 2025
This enhancement has been incorporated in Simulink Control Design 2.4 (R2008b). For previous product releases, in order to modify figure properties for figures generated from the Control and Estimation Tools manager, export the plots to a MATLAB figure. Changes have been made in MATLAB 7.3 (R2006b) such that line objects (from which you can change the color of the line) are placed under HGGROUP objects. Hence, you are not able to directly change the line properties from the MATLAB GUI.
To work around this issue, please do the following:
1. Open the figure.
2. Click on one part of the line such that you select it. If you selected it correctly, you should see the X and Y coordinate of the datapoint you chose.
3. Execute the following command in the MATLAB Prompt:
get(gco,'type')
If the above command returns 'line', you know you have selected the line object.
4. Execute the following command in the MATLAB Prompt:
inspect(gco)
100% Run Guarantee
3-Hour Fast-Track Delivery
Need a Custom Version or Complete Simulation for This Problem?
Our 500+ PhD engineers build, debug, and optimize working MATLAB scripts and Simulink (.slx) models tailored to your exact assignment rubrics with zero plagiarism.
Tested on MATLAB R2024b / R2026a
Turnitin 0% Plagiarism Report
Free 7-Day Revisions Guarantee
Have a different question? Ask here
Related modify Questions & Solutions
Browse All →
Explore similar technical troubleshooting questions and verified MATLAB solutions:
Ready-to-Run MATLAB & Simulink Projects
Browse All Projects →