From: Davide C. <dc...@ar...> - 2008-10-01 12:36:09
|
Maurice LeBrun a écrit: > A clip mode setting function sounds like a better approach. But like every > API addition the associated: > > - multiple language bindings > - documentation additions > > makes it a bit of a chore. I tend to do the lazy thing and grab the stream > pointer then get/set whatever data I need from there, but of course that's of > no help if you're not using C/C++. > > For this example I'd rename it something like plsclipmode() to make its > function more transparent. > > Also, static values are evil -- previous values of clip limits need to be > stored in the plstream struct, and note that all default to zero when a new > stream is constructed. I agree, that was a quick-and-dirty solution in order to reduce the footprint on the rest of the code. Thank you for considering the chance to implement the function in plplot, please tell me if I can help further in any way. ciao, Davide -- ============================= Davide Cesari ============================ Servizio IdroMeteorologico ARPA Emilia Romagna Area Modellistica Numerica e Radarmeteorologia Home page: http://www.webalice.it/o.drofa/davide/ ======================================================================== |