Hezekiah M. Carty wrote: > On Thursday, July 23, 2009, Hazen Babcock <hbabc...@mac.com> wrote: >> Should we add a function that returns the current pen width? Or does >> such a function already exist? >> >> How about the index of the current color? >> >> -Hazen > > I think that each of these functions would be useful. I wrote short C > stubs for the OCaml bindings to get the current line width and current > color index from each of color palette 0 and 1 from plsc, specifically > for the purpose of creating a plot legend function.
I'm inclined to add at least a function to get the current pen width and the current plcol0 index. Any objections to this expansion of the API? Any objections to adding getters in the future for all other PLplot setters? How about the save/unsave feature as suggested by Steve? The schedule would probably be to add the pen width and plcol0 functions before the next release and then add the rest after the 5.10 release. -Hazen ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Plplot-devel mailing list Plplot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-devel