RE: Plotting points to screen
Jason, YMMV = Your Mileage May Vary In other words, how well it works for you depends on a lot of things. You need to determine the suitability for a given task. :) Michael Don't like the legal notice at the end of my email? Too bad, you can stuff it where the sun don't shine. -Original Message- From: Jason Sent: Monday, September 26, 2005 3:46 PM To: python-list@python.org Subject: Re: Plotting points to screen One question, that's twice in as many days that someone has said "YMMV". What's it mean!? -- http://mail.python.org/mailman/listinfo/python-list ___ The information contained in this message and any attachment may be proprietary, confidential, and privileged or subject to the work product doctrine and thus protected from disclosure. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify me immediately by replying to this message and deleting it and all copies and backups thereof. Thank you. -- http://mail.python.org/mailman/listinfo/python-list
Re: Plotting points to screen
Jay wrote: > One question, that's twice in as many days that someone has said "YMMV". > > What's it mean!? http://www.google.com/search?q=acronym+ymmv -- http://mail.python.org/mailman/listinfo/python-list
Re: Plotting points to screen
jay graves wrote: > I've used both pygame and PIL for this in the past. (i'm plotting a > non-standard 3d data format from a in-house app) > Pygame was nice because I put a key handler in to reload the file and > do a little zooming/panning and when I wanted to save a particular plot > I would just use a screen capture program. > Then I upgraded my harddrive and didn't re-install PyGame. The next > time I had to plot some data, I tweaked my script to use PIL. I ended > up liking this solution better. I could easily create large images > (bigger than physical screen which was a limiting factor in PyGame) and > used a regular image viewer to pan and shrink/zoom. I had the drawing > portions of my script well separated from the data parsing and > manipulation so tweaking the script was simple. > > YMMV, but PIL was the best way for me. > > ... > jay graves > Thanks Jay. One question, that's twice in as many days that someone has said "YMMV". What's it mean!? -- http://mail.python.org/mailman/listinfo/python-list
Re: Plotting points to screen
I've used both pygame and PIL for this in the past. (i'm plotting a non-standard 3d data format from a in-house app) Pygame was nice because I put a key handler in to reload the file and do a little zooming/panning and when I wanted to save a particular plot I would just use a screen capture program. Then I upgraded my harddrive and didn't re-install PyGame. The next time I had to plot some data, I tweaked my script to use PIL. I ended up liking this solution better. I could easily create large images (bigger than physical screen which was a limiting factor in PyGame) and used a regular image viewer to pan and shrink/zoom. I had the drawing portions of my script well separated from the data parsing and manipulation so tweaking the script was simple. YMMV, but PIL was the best way for me. ... jay graves -- http://mail.python.org/mailman/listinfo/python-list
Re: Plotting points to screen
Jason wrote: > Like I said, it's nothing complicated, no flashing wotsits or 3d > quad-linear vertexes with bi-linear real-time shading, just simple > 'points' a few lines or circles and nothing more. all UI toolkits can do that. just pick one, and read up on the graphics API. for Tkinter, you can use the Canvas widget or the WCK: http://effbot.org/zone/wck-3.htm or a pixel canvas, or perhaps WCK+AGG: http://effbot.org/zone/wck-pixelcanvas.htm http://effbot.org/zone/draw-agg.htm etc. more links: http://piddle.sourceforge.net/ http://www.wxpython.org/ http://matplotlib.sourceforge.net/ http://www.riverbankcomputing.co.uk/pyqt/index.php -- http://mail.python.org/mailman/listinfo/python-list