Best way to use Python to make 2d XY scatter graphs? Will TKinter do it?
Marijan Tadin
mtadin66 at yahoo.com
Thu Oct 23 01:37:38 EDT 2003
More information about the Python-list mailing list
Thu Oct 23 01:37:38 EDT 2003
- Previous message (by thread): Best way to use Python to make 2d XY scatter graphs? Will TKinter do it?
- Next message (by thread): Best way to use Python to make 2d XY scatter graphs? WillTKinter do it?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
(sorry, I respond to this message because I can not find the original message) You might also have a look at reportlab's graphics library. http://www.reportlab.org/rl_toolkit.html You can have output of your graphics as PNG, JPEG,..., pdf or postscript (SVG was buggy as I looked at it, I don't know the present state). There is also some beginning of charting library, but you can draw whatewer you like, it is IMO relatively easy to use. The downside for you may be that it is not very fast if you have a lot of objects to draw, but you may look if it is fast enough for you. Marijan "enoch" <enoch at gmx.net> wrote in message news:ad02da8c.0310220331.3af4be23 at posting.google.com... > rh4170056 at juno.com (rhmd) wrote in message news:<616fccba.0310200250.22d55351 at posting.google.com>... > > I need to create image files (eg bmp or jpeg) of xy scatter graphs > > (i.e., graphs in which markers denote individual points; the markers > > need to be small polygons of various sizes, shapes, colors, shadings, > > etc. and there are thousands on them on each graph). Have been using > > MS Excel, but its limitations are unbelievable (only whole number > > sizes, no way around a 56 color palette, only low quality jpeg files > > so that when I publish the graphs I have to print and scan them all to > > get a decent image, no more than 32K markers in a single series). > > From a programming point of view, Python is perfect to set up > > something like this, but MY QUESTION IS: Will TKinter do this? Or > > will it be necessary to learn OpenGL? Or is another Python compatible > > package best? Thanks for your help. > > Since this hasn't been mentioned, there's a gnuplot binding for > python. I have used it successfully and without any speed problems for > scatter plots with > 20000 points, and it gives you the added benefit > to play around with the graphs in gnuplot itself.
- Previous message (by thread): Best way to use Python to make 2d XY scatter graphs? Will TKinter do it?
- Next message (by thread): Best way to use Python to make 2d XY scatter graphs? WillTKinter do it?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list