I have just started with tcl/tk and I've been trying to develop a simple routine to plot xy points in a file created by a c++ program. I created a list of entry widgets
that pass the pararameters for the c++ program. This one saves the list of xy points in a file and and the points are read and plotted in the canvas (using the command line). It is already working but only once. It means that if I change the parameters the routine runs the c program, reads the new file but the canvas is not refreshed. Is there any command to do that? I'm open to other solutions also. Thanks.
that pass the pararameters for the c++ program. This one saves the list of xy points in a file and and the points are read and plotted in the canvas (using the command line). It is already working but only once. It means that if I change the parameters the routine runs the c program, reads the new file but the canvas is not refreshed. Is there any command to do that? I'm open to other solutions also. Thanks.