emulate using '-i' command line flag

This commit is contained in:
Axel Kohlmeyer
2022-02-25 18:34:45 -05:00
parent 4dc5b93c6c
commit 3e01fa49dd

View File

@ -8,7 +8,7 @@
# once plot appears, you are in Python interpreter, type C-D to exit
# Author: Steve Plimpton (Sandia), sjplimp at sandia.gov
import sys,os
import sys,os,code
path = os.environ["LAMMPS_PYTHON_TOOLS"]
sys.path.append(path)
from log import log
@ -25,3 +25,4 @@ lg = log(logfile)
x,y = lg.get(xlabel,ylabel)
g = gnu()
g.plot(x,y)
code.interact()