Dear all,
I want to plot my data using gnuplot interactively from the inside of my c++ program without writing gnuplot file and data file.
How can I do that? I will appreciate if you could show a way.
thank you
Dear all,
I want to plot my data using gnuplot interactively from the inside of my c++ program without writing gnuplot file and data file.
How can I do that? I will appreciate if you could show a way.
thank you
i looked into this briefly myself recently, and there didn't seem to be a simple answer. it seems like you just have to dig through the source files yourself to learn what is needed to use it as a library.
UTSL!
i opted to use qwtplot3d instead, but that is probably not an option for you unless you happen to be using qt already. even as it is, qwtplot3d's documentation and api are rather lacking.
do you think can we use ostrinstream? and implement the content of stream with system command ..... ?
that sounds plausible, but i didn't dig through the gnuplot API to see hwo that might be done. i thought it was too likely that it would be unbearably slow for interactive rendering.
as far as i can tell, gnuplot doesn't use any hardware accelerated rendering, so it may not have very good performance during user interaction
Last edited by m37h0d; 01-19-2010 at 11:21 AM.