|
From: Daniel J S. <dan...@ie...> - 2004-10-28 17:36:51
|
Pawel, Could you please give us some idea of the quantity of data and its nature? For example, 2D plot 500 lines? 3D plot 500 surfaces? I assume you say that X11 is slow because that is the only terminal you are using. I say that because there are several parts of gnuplot, bringing data into gnuplot, generating the plot internally, sending the plot across a pipe to the X11 driver, interpretting the plot commands in the driver. Technically HBB is correct that gnuplot really isn't for real-time applications. (Such applications--ones where the frame refresh must occur at required moments in time--need more low-level approaches where only necessary portions of the visual are updated. For example, if you are trying to generate some kind of oscilloscope, gnuplot won't work.) But perhaps what you have in mind isn't necessarily "real-time" but just something adequately fast. (E.g., very low frame rate with allowable occassional timing blip due to OS behavior.) Also, I imagine running through and emulator will slow things down. Dan pa...@mi... wrote: >Hi, >I would appreciate answer to following problem related to fast updated >real time data. > >I plot an ASCII file using a "plot" command. Upon arrival of new data >(with a frequency close to 1 second) I issue a "replot" command. > >In effect I see that gnuplot_x11 takes al large amount of CPU resurces >(no matter if the gnuplot is iconified or not). > >Worst, when X11 is displayed on a PC through an emulator Exceed, Exceed >runs >out of memory (or so it says) no matter how it is configured. > >Questions are > 1) What is the best way to use gnuplot for real-time visualization > (are there any buffering options reducing resouces needed for redraw) > > 2) How to iconify gnuplot windows (other through -noraise option) > so when window is inconified gnuplot does not eat X11 resources. > > >Thanks > > Pawel > >------------------------------------------------------------------------ > >--------------------------------------------------------- > >This e-mail contains information some or all of which may be confidential, proprietary and/or legally privileged. If an addressing or transmission error has misdirected this e-mail, please notify the sender by replying to this e-mail. If you are not the intended recipient you must not use, disclose, distribute, copy, print or rely on this e-mail. > >--------------------------------------------------------- > > -- Dan Sebald email: daniel DOT sebald AT ieee DOT org URL: http://acer-access DOT com/~dsebald AT acer-access DOT com/ |