From: Olof S. <sve...@es...> - 2002-01-10 15:49:46
|
Joao Cardoso wrote: > > > The best solution is probably to create a second entry point for passing > > an image as a PLFLT * pointer. There are two possibilities, either by > > using a flag telling plimage which type of pointer is passed (to avoid > > creation of unused arrays in the case of rectangular images) or by > > creating a new plplot image command. > > Perhaps the latter will be more user understandable. It could just set a > variable in plstrm.h (that could be used also by drivers), and call the > standard plimage(). This sounds to us as a good idea - however, just a thought, since PLFLT * is used internally by plimage, wouldn't it be better to let the current version of plimage call the new function? (In fact, to be more compatible with PGPLOT the new function should be called plimage and the existing one should be renamed, however we have nothing against keeping the current version as plimage). Could you suggest a name for the new plimage function? > > Maybe it is not a very important problem, but for some applications that > > we plan to do in the future we would like to keep the possibility to > > keep the PLESC commands. > > OK, but probably I will changes their names, as I found the current ones too > cryptic. Fine with us! Regards, Olof |