From: <sm...@mi...> - 2007-01-27 16:50:25
|
Hi Mark, you don`t write which driver and which operating system you use, but assuming that you use Linux the fastest available driver is surely the xwin driver. I would expect that depending on the complexity of the graph xwin should make it below 200ms. If not - which graphic card do you use and which driver - e.g. the closed source xorg driver of NVidia for NVidia cards provide hardware acceleration for 2D, which makes the 2d output much faster. You could make the graph smaller in size or try to make it as easy as possible (no title and labels). And have you looked at the stripchart example (x17 I think)? Do you compile your program with maximum optimization (-O3), if you use C= ? You could also use a profiler to see if it is really plplot which is that slow - maybe you are doing a lot of memory allocations which are the real problem. Maybe you're plotting more points which are visible anyway (2048 datapoints on a 800 pixel wide graph) - than it would maybe better to interpolate before. Without knowing more details, I can't give you more than some common hint= s. HTH, Werner > > Hello, > > We need to update a graph at about a 5Hz rate, and the > plplot canvas doesn't seem able to keep up with that > (takes 200 to 300 ms to update graph). I'm wondering if > this is something to be expected, or if we're doing > something wrong (I don't expect anyone to tell me what I > may or may not be doing wrong, I'm just looking for > general info on performance). > > Thanks, > Mark > > -----------------------------------------------------------------------= -- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3D= DEVDEV > _______________________________________________ > Plplot-general mailing list > Plp...@li... > https://lists.sourceforge.net/lists/listinfo/plplot-general > |