help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: uitable does not accept placement in subplot


From: Markus Mützel
Subject: Re: uitable does not accept placement in subplot
Date: Wed, 23 Sep 2020 12:32:25 +0200

Am 23. September 2020 um 12:06 Uhr schrieb "Jens Ruetten":
> Hi there,
> I am trying to show live data in a single plot window with multiple
> subplots, which update in regular intervals.
>
> So far so good, what i cannot manage is adding a table to visualize a list
> of discrete values in a subplot segments. Calling
>
> >>subplot(2,1,1);
> >> uitable(f, "Data", d, "RowName", row_names, "ColumnName", col_names);
>
> yields no reaction at all, when i try
>
> >>subplot(2,1,2);
> >> uitable(f, "Data", d, "RowName", row_names, "ColumnName", col_names);
>
> Octave returns the following error message:
>
> error: uitable: invalid parent handle.
> error: called from
>     __uiobject_split_args__ at line 37 column 7
>     uitable at line 207 column 13
>
>
>
> Any ideas for a workaround?
> Cheers
> ^j
>
>

I'm not sure what `f` is in your examples.
But afaict the parent for uitable must be a figure or uipanel.
`subplot` creates an axes. You can't have an axes object be the parent for 
`uitable`.

Try to adapt the 'Position' property of the uitable instead.

HTH,
Markus




reply via email to

[Prev in Thread] Current Thread [Next in Thread]