freesnell-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[FreeSnell-discuss] Plotting


From: Mojtaba Javaheri Rahim
Subject: [FreeSnell-discuss] Plotting
Date: Mon, 30 May 2011 01:05:34 +0200

Hello everybody,
I'm quite new in Freesnell,
Unfortunately I have the following error message and have no idea how to get rid of it. for example I perform this program:

(require 'FreeSnell)

(require 'databases)

(require 'database-interpolate)

(define nk (open-database (or (getenv "NK_DATABASE_PATH") "nk.rwb") 'rwb-isam))

(define ag (interpolate-from-table (open-table nk 'ag) 2))

(define (gran-ag)

  (plot-response

   (title "Granular Ag IR; q=1/2, 1/4, 1/10, 1/20" "gran-Ag-IR")

   (output-format 'png 535 250)

   (font 13 "+0.80" "+0.80")

   (IR (granular-IR Ag 1/2 1.35) 'n 'k)

   (IR (granular-IR Ag 1/4 1.35) 'n 'k)

   (IR (granular-IR Ag 1/10 1.35) 'n 'k)

   (IR (granular-IR Ag 1/20 1.35) 'n 'k)

   (wavelengths 300e-9 900e-9))

  (plot-response

   (title "Ag IR" "Ag-IR")

   (output-format 'png 535 250)

   (font 13 "+0.80" "+0.80")

   (IR Ag 'n 'k)

   (wavelengths 300e-9 900e-9)))

And to run the program I do:

(gran-ag)

But I,m receiving:

;loading C:\Program Files\slib\genwrite

;done loading C:\Program Files\slib\genwrite.scm

Invalid Parameter – “gran-Ag-IR.png”

Invalid Parameter – “Ag-IR.png”

#f


Where can I find the results and plots in my computer, in which directory?

Thanks in advance for your responding.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]