Prima look nice, thanks will try that. (I'm currently using PGPLOT) On Wed, Oct 23, 2013 at 4:04 PM, Craig DeForest <[email protected]> wrote: > Yes. > > There are four major plotting packages in PDL, and each one can do what you > want. > > David Mertens' PDL::Graphics::Prima is insanely zippy and is therefore pretty > awesome for rapid, interactive displays. It's designed for interactive > display, but can send output to a postscript device when you're finished > doing your calculation. > > PDL::Graphics::PGPLOT and PDL::Graphics::PLPlot are the legacy plotters. > Both have means of doing what you want. PGPLOT produces not-as-pretty output > but is fast. PLPlot produces prettier output and is comparably fast for line > plots, but for images it is insanely slow (it'll remind you of being back in > 1992). > > PDL::Graphics::Gnuplot is optimized for hardcopy output and is therefore not > as fast as PGPLOT - but it can do interactive stuff and has a clean way to > dump to a file. > > Since I like the look of the Gnuplot output, the way I do stuff like you're > describing is something like this: > > use PDL::Graphics::Gnuplot; > $w=gpwin( wxt, size=>[8,8], enhanced=>1 ); > > for $i(1..1000) { > iterate_my_data(); > $w->plot( <some commands> ); > } > > $w->output( pdf, out=>"my_nice_file.pdf",size=>[6,4,'in'] ); > $w->replot; > $w->close; > > On Oct 23, 2013, at 1:53 PM, mraptor <[email protected]> wrote: > >> hi guys, >> >> Can I open a graph/image and plot the data on the screen as I'm >> calculating it... on the fly ? >> And when I'm done to save it to file ? >> >> thanks >> >> _______________________________________________ >> Perldl mailing list >> [email protected] >> http://mailman.jach.hawaii.edu/mailman/listinfo/perldl >> >
_______________________________________________ Perldl mailing list [email protected] http://mailman.jach.hawaii.edu/mailman/listinfo/perldl
