help-octave
[Top][All Lists]
Advanced

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

Re: accessing "sub-structs"


From: John W. Eaton
Subject: Re: accessing "sub-structs"
Date: Sun, 7 Jun 2009 08:56:19 -0400

On  6-Jun-2009, Thorsten Meyer wrote:

| My current need for extracting substructures comes from dealing with
| plots. E.g., I would like to get the current plot object with
|    get(h)
| and extract the options, which are needed to later reproduce the plot
| (and I like keeping plot options in a structure ...).

You can use rmfield to delete the unwanted elements of the structure
and generate your substructure.

jwe


reply via email to

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