plshades is too slow for just about every imaginable real-world application, as far as I've been able to tell.  If memory serves correctly, even if you output to a PDF and open in your favorite reader, it will render incredibly slowly.  Inefficiencies in the way the color tables are calculated, I think.

So, this isn't really helpful, but I thought I'd let you know it's not just you.

http://sourceforge.net/p/plplot/bugs/105/

Derek

On Apr 15, 2014, at 6:46 AM, Owens, Thomas wrote:

I have a real-time plotting application with multiple plots in one window that I would like to speed up some.  The code is
 
plspage(0,0,2000,430,0,0);
plsdev(“xwin”);
plsetopt(“drvopt”,”nobuffered=1”);
plinit();
 
plssub(2,1);
 
while(1){
  //get updated data
  getdataPlot1(data_1);
  getdataPlot2(data_2);
 
//update subplot 1
pladv(1);
plenv0(0.0, 1000, 0, 1000, 0, 1);
pllab(“time”,”amp”,”data plot 1”);
plshades(data_1, 1000,1000,NULL,0,1000,0,1000,……);
 
//update subplot 2
pladv(2);
plenv0(0.0, 1000, 0, 1000, 0, 1);
pllab(“time”,”amp”,”data plot 2”);
plshades(data_2, 1000,1000,NULL,0,1000,0,1000,……);
}//end while(1)
 
However, the call to plshades that renders to the screen is too slow for my needs.  Is there a way to “speed up” plplot?  Would a GPU help?
 
Is there a more efficient way to do real-time plotting?
 
Thank you for your assistance.

Tom
 
 
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech_______________________________________________
Plplot-general mailing list
Plplot-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-general