Author Topic: A wee scipt routine  (Read 2028 times)

0 Members and 1 Guest are viewing this topic.

BREZI

  • Guest
A wee scipt routine
« on: March 10, 2005, 07:00:48 AM »
I have a script file that I use to purge, save & close drgs.

; PURGE SAVE & CLOSE
PURGE A * N
QSAVE
CLOSE


I have been trying to add a plot line to it "unsuccessfully!"

Has anybody done anything similar?

All I want is it to plot to the saved settings.

cheers.

Ron Heigh

  • Guest
A wee scipt routine
« Reply #1 on: March 10, 2005, 07:55:00 AM »
Code: [Select]
 (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.

BREZI

  • Guest
A wee scipt routine
« Reply #2 on: March 10, 2005, 08:06:34 AM »
cheers!