Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how to completely reset gnuplot?

Tags:

gnuplot

Hello Is there a way to completely reset gnuplot, ie taking gnuplot in the same state as just after launching it ? Reset does not kill the variables nor the functions, undefine cannot be used as "undefine *" since the first character has to be a letter. Thank you !

like image 277
dauriac Avatar asked Sep 13 '16 11:09

dauriac


People also ask

How do I start gnuplot?

To start gnuplot under MS Windows, double-click on the gnuplot icon. The gnuplot window will pop up with menus and buttons along the top, the opening message and the gnuplot> prompt inside the window. To start gnuplot under OS/2, open the folder where gnuplot is located, and double click on the gnuplot icon.

What is gnuplot command?

Gnuplot is a free, command-driven, interactive, function and data plotting program. Pre-compiled executeables and source code for Gnuplot 4.2. 4 may be downloaded for OS X, Windows, OS2, DOS, and Linux. The enhancements provided by version 4.2 are described here.

Is gnuplot part of GNU?

gnuplot is not related to the GNU project or the FSF in any but the most peripheral sense. Our software was designed completely independently and the name "gnuplot" was actually a compromise.

How can I call gnuplot?

You can run a script two ways: Type load "scriptname" from within gnuplot. Or, from UNIX, run gnuplot by typing gnuplot scriptname . In this method, gnuplot will exit when your script is finished, so you may want to include PAUSE -1 "Hit any key to continue" as your last line.


1 Answers

gnuplot> x=1
gnuplot> print x
1
gnuplot> reset session
gnuplot> print x
     undefined variable: x
like image 98
ewcz Avatar answered Nov 01 '22 08:11

ewcz