Le Mardi 31 Juillet 2007 16:13, Michael SCHINDLER a écrit : > Salut René, > > On 31.07.07, René Bastian wrote: > > -- is it possible to extend a graph on several sheets ? > > (e.g. graphical scores) > > what do you mean with "sheets" and "graph"? In pyx, a "graph" is an > instance of the pyx.graph class, mainly used for plotting a function > or a data set.
OK, I meant "page" > > > -- how to manage it if a line goes beyond the limit of a sheet > > and has to be continued on the next sheet? > > If you mean "page" by "sheet", the answer is the following: You draw > your line on a "canvas" (that is an inifinitely extended canvas for > drawing) and write it into two different "pages" (which know about > paperformats etc). When writing, you can clip it to the paperformat > you want to have, or some smaller geometry. > > The point is that pyx does not do this automatically. You have to > shift the canvas appropriately before writing it a second time, taking > into account the clipping geometry. The amount of the shift you have > to calculate yourself. > Michael Thanks for the tip -- René Bastian http://www.musiques-rb.org http://pythoneon.musiques-rb.org ------------------------------------------------------------------------- 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
