On Tue, 6 Oct 2009 11:18:18 -0700 (PDT) "Alan W. Irwin" <ir...@beluga.phys.uvic.ca> wrote:
> > Of course, such a review becomes much more urgent if you present > evidence that other plot libraries produce shade plots much faster > than PLplot. :-) > Dear Alan, Regarding examples of faster shade plots, I can say it's difficult to find anything slower. For example, ds9 can load the same fits data and make a continuous grayscale shade (i.e. shades >> 50) plot in a negligible amount of time (< 1s). I also tried imshow() from matplotlib for Python: similar results to ds9. I think the drawing calls are the limiting factor. PLplot draws the image column by column (or perhaps even pixel by pixel) AS it is computing the shade values. For 50 shades, it sweeps through the entire array 50 times and issues tens to hundreds, if not thousands, of drawing calls each time. I wanted to check this with a profiler, but alas, adding CFLAGS (i.e. -pg and -g for gcc) to the CMake setup PLplot uses appears to be non-trivial and I ran out of patience trying to figure out how to do it. Regards, Paul ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ Plplot-general mailing list Plplot-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-general