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. For a function returning the current color - how do you check if the active plotting color is a palette 0 or palette 1 color? Hez ------------------------------------------------------------------------------ _______________________________________________ Plplot-devel mailing list Plplot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-devel