(command "-plot"
"y"
"model"
plt:style ;<---variable
plt:paper ;<---variable
"inches"
plt:orientation ;<---variable
"no"
"limits"
"fit"
"0,0"
"yes"
"1_shop.ctb" ;<---plotstyle
"yes"
"no"
"yes"
plt:name ;<---variable
"n"
"y"
);end command
This is the code I use for my lisp function.
See if you can modify it to suit your needs.
You might need to save it as a seperate file and load/run it within your script.