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/ ======================================================================== ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Plplot-devel mailing list Plplot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-devel