From: Joao C. <jca...@in...> - 2001-11-22 20:42:01
|
On Thursday 22 November 2001 17:16, Alessandro Mirone wrote: | Hi Jo=E3o, | it's great that you got plimage working!! | I will certainly send a description of plimage. | | I agree that plmoveimage is not necessary and | we can discard it by the moment. OK. | Yes it is a good idea to collapse all those PLESC. | | I would like to keep the PLESC that disactivate the pixmap | and metabuffer.=20 The PLESC_DOUBLEBUFFERING already does "write_to_window =3D 0/1" |That is because I am planning to | write things like xhairs ( or whatever shape ) | from python. xhairs already exists, as you might know, use plGetCursor() | That lets you the freedom to ( just imagine) | select a polygonal shape from an image for an integral | or whatever having at the same time a visual representetion | of the shape. The shape changes continuosly and might be | very general so it's good to manage that from python. You could as well just use plGetCursor() to retrieve the shape, then plot= it=20 in xor mode, try "./x01c -dev xwin -xor". | About the call to plimage we can discuss the arguments.. | I have no particular preference so may be we could generate an | analogous of | pgimage. I used pgplot years ago, so I don't remember how pgimage() works. Why not use the standard plplot way, "PLFLT **z"? It is a bit more diffi= cult=20 to dinamicaly allocate memory, but one could write a utility function for= it=20 (as well as an utility to return the maximum and minimum of such arrays,=20 which I believe is a very frequent operation on plplot and particularly i= n=20 plimage related functions. | What do you plan todo? You commit a working plimage | and the we refine the plesc? Or you want me to refine the plescs? I will commit my changes (in a couple of days from now), and we will latt= er=20 refine some details. OK? | As you prefer. By the moment I'll send a description of plimage | to generate the html Nice. No job is finish till the paper work is done :) (aarrrghhhh--agains= t me=20 I speek!) | Ciao | Alessandro Bye, Joao |