I'm writing a program like uniplot but then with some other functionality. I have to following problem,
I need to get back the settings for the gnuplot window and I'm using tcl/tk to create the interface
I open a channel to gnuplot.
set f0 [open "|gnuplot w+"]
..
plot curve
...
Thank you very much evryone for your dedicated help. ;O)
But I have found a solution.
put everything in one variable like this and it will work.
set CMD {plot "/users/myaccount/data.dat"}
put $channel $CMD
Thank you very much evryone for your dedicated help. ;O)
But I have found a solution.
put everything in one variable like this and it will work.
set CMD {plot "/users/myaccount/data.dat"}
put $channel $CMD
Hello,
My problem
I want to plot a data file that is selected by the user in gnuplot. I can open a channel to gnuplot, and I can plot a specified data file BUT when the user selects a file with an file open menu, the path and file name are stored in a variable and there is my problem.
When I...
Hello,
My problem
I want to plot a data file that is selected by the user in gnuplot. I can open a channel to gnuplot, and I can plot a specified data file BUT when the user selects a file with an file open menu, the path and file name are stored in a variable and there is my problem.
When I...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.