Hi Michael, thanks for contributing.
On 06.08.07, Michael SCHINDLER wrote: > +1 for renaming the data into "points": I always have to look up how > the current "list" is to be created. In most cases, I use a "zip(a, > b)" for that, meaning that the new "lists" will make it more easy for > me. Fine! And the zip really is a waist of resouces, since the points are "unziped" again internally. (BTW this was of course not the case originally, but I've changed the internal data structures a few releases ago (I think along or a little after the graph style rework) ... it was centered around the points originally, since that's how data in files is organized, but it makes it very complicated to pass data around for the axes adjustment etc. and I finally simplified a lot of code internally by this internal change.) > I suggest, however, to use "coordinates" or "values" instead of > "lists", as all names such as "array", "vector", "list", "lists" do > not specify what is stored and thus do not indicate the logics of its > use. Good point. Since coordinates as a name really is a bit too long, I would then go for values. Maybe there's another important distinction: In case of the points class there is a first parameter containing the actuall data and the other kwargs are integers (indexing the point tuples starting at the index 1). For the values there are those kwargs only containing the values (as lists) directly. (I'm ignoring some special features like the data title here.) But in terms of finding a name this doesn't seem to help much ... Lets wait a little longer to see, whether other options turn up. But from my side "points" and "values" are ok already (even taking into account, that we rarely should do such name changes at all) ... André -- by _ _ _ Dr. André Wobst / \ \ / ) [EMAIL PROTECTED], http://www.wobsta.de/ / _ \ \/\/ / PyX - High quality PostScript and PDF figures (_/ \_)_/\_/ with Python & TeX: visit http://pyx.sourceforge.net/ ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ PyX-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/pyx-user
