[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Graphics properties implementation
From: |
John W. Eaton |
Subject: |
Re: Graphics properties implementation |
Date: |
Sat, 12 Jan 2008 11:51:42 -0500 |
On 12-Jan-2008, Michael Goffioul wrote:
| Related to hidden properties, I think that properties like
| __plot_stream__ and so on should be hidden. Normally, hidden
| properties should not be listed by the "get(void)" method; they
| should only be accessible on explicit requests by the
| "get(caseless_str)" method. However, doing this will make
| some m-code not functional: for instance, "drawnow" uses
| "get(fig_handle)" to get a structure containing all properties;
| if hidden properties are not part of the structure, drawnow
| will fail. What do you think?
Instead of
get (void)
how about defining the function as
get (bool all = false)
? If ALL is TRUE, it would return all properties, including those
that are hidden. Then, for the gnuplot backend, we could define an
internal __get__ function that passes TRUE to the C++ get function.
jwe
- Graphics properties implementation, Michael Goffioul, 2008/01/11
- Re: Graphics properties implementation, Shai Ayal, 2008/01/12
- Re: Graphics properties implementation, Ben Abbott, 2008/01/12
- Re: Graphics properties implementation, Shai Ayal, 2008/01/12
- Re: Graphics properties implementation, Kai Habel, 2008/01/12
- Re: Graphics properties implementation, Shai Ayal, 2008/01/12
- Re: Graphics properties implementation, Shai Ayal, 2008/01/12