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 hints.

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=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Plplot-general mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/plplot-general
>



-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Plplot-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/plplot-general

Reply via email to