P is for Practical | |
PerlMonks |
Re: Pixel-based Plotting in Perl?by zentara (Archbishop) |
on Sep 02, 2008 at 20:44 UTC ( [id://708597]=note: print w/replies, xml ) | Need Help?? |
Use the various canvas widgets...Tk, Gtk2, Zinc, etc. For something complex, using the excellent gnuplot as the engine, see SuperFormula with gnuplot and Tk. For simple straight forward plotting, see Tk Realtime data aquisition or look at the Tk "widget" demo for the canvas 2-d plot. You will find however, that pixel plotting (single pixels) is VERY intensive, so you really want to use some sort of lines( actually curves, a line is just a straight curve :-)) You also might like to look at Tk Patio/Office layout designer for circles, polygons, etc. that are draggable. Here is a sample of styles.
I'm not really a human, but I play one on earth Remember How Lucky You Are
In Section
Seekers of Perl Wisdom
|
|