|
"Gustavo Morales" <gustavo.morales.2000@gmail.com> wrote in message <gsuass$r0s$1@fred.mathworks.com>...
> "Abdel":
>
> Hi !!!
> Everything you've wrote is ok, except for this:
> > active.Title = 'mytitle';
>
> Your error is because "Title" is not a property for an "axes object"
> If your subplot axes handle is P(i), type at the command window:
>
> > set(P(i))
>
> and you'll see all the adjustable properties of the object referenced by P(i)
Actually, Title is a property of axes object. But a string is not valid value for title, its value should be a handle of a text object. Just as the error message says.
This should do it:
active.Title = text('String','mytitle');
|