How to add a different title to LTIview?

半世苍凉 提交于 2019-12-02 11:11:40

In order to costomize the title property of a plot in a standard toolbox window, you need to retrieve the axes object of the figure.

The following code uses lti examples to show the solution:

load ltiexamples;
H = ltiview(sys_dc);
obj = findobj(H, 'type', 'axes');
title(obj, 'my name here');

Here is the result:

EDIT

A Bode plot consists of two plots and respectively of two axes-objects. So you need to put an object index to access the axes object.

load ltiexamples;
H = ltiview('bode', sys_dc);
obj = findobj(H, 'type', 'axes');
title(obj(1), 'Custom title for the bode plot');

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!