Re: plot calculated IR-spectrum



googoff@xxxxxxxxxxx wrote:
create a file lorenz.sh:

#! /usr/bin/awk -f

BEGIN {line=0}

($0 !~ /^#/)&&($0 != "") {

print "f"line"(x)=alpha*"$1"/(pi(x-"$2")**2+1)\n"


}

in gnuplot :

load << system(lorenz.sh)


Debug the syntax yourself , I ain't going to do the whole job for you,
but that should do what you want in an efficient manner.

Hmmm, this doesn't work here... but
awk '{print "f"NR"(x)=alpha*"$2"/(pi(x-"$1")**2+1)"'
did the job.

Thanks for your effort.
.



Relevant Pages

  • Re: plot calculated IR-spectrum
    ... in gnuplot: ... load << system ... Debug the syntax yourself, I ain't going to do the whole job for you, ...
    (comp.graphics.apps.gnuplot)
  • Re: WINDOWS CE 6.0
    ... Explorer shell to load. ... unless you want to debug. ... build your first run-time image. ... Windows Embedded Virtual ...
    (microsoft.public.windowsce.platbuilder)
  • Re: running a service/driver/application upon startup
    ... debug version of the image is too large to load onto the device. ... I ran dumpbin/exports on the finger dll and saw the required function names: ... > theories as to why it's not getting loaded but just doing 'services load ...
    (microsoft.public.windowsce.embedded)
  • CreateProcess DEBUG_PROCESS fails to show any window
    ... it creates the proc with a valid thread and proc handle ... returned showing fine in Task Man but the window fails to load. ... IF I create an appication without debugging info and the target app to ... load has no debug info CreateProcess with DEBUG flag loads the process ...
    (microsoft.public.vc.debugger)
  • Old hobbits die hard.....
    ... For several months I've been trying to debug various Exhibit modules using the latest and greatest version of Exorcise STAE support, ... One of the easier ways to load stuff is to read files as card images. ... For IBM-MAIN subscribe / signoff / archive access instructions, ... send email to listserv@xxxxxxxxxxx with the message: GET IBM-MAIN INFO ...
    (bit.listserv.ibm-main)