After running ada code example to plot a function using plplot, the sample code plots the output in graphical window/widget in linux. So one ends up with shell terminal and graphical window. The graphical window can be close with a mouse. How can one close it with ada code line. The ada binding does not have any options for plend() executed by End_PLplot ada code. Is there alternative command in ada to close window/widgets?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
After running ada code example to plot a function using plplot, the sample code plots the output in graphical window/widget in linux. So one ends up with shell terminal and graphical window. The graphical window can be close with a mouse. How can one close it with ada code line. The ada binding does not have any options for plend() executed by End_PLplot ada code. Is there alternative command in ada to close window/widgets?
I solved it by reading the following link I found (Closing Window). In ada , the code will be as follows:
To put it back to the way it was before, change False to True.