I'd like to experience this, but I get an error running Jack's script:
sprintf: argument should be string
Data types not conformable for operation
*** error in function cool_gnuplot_pic, line 1
> string fname = sprintf("C:\Users\psummers\AppData\Roaming\gretl/%d.gp",
> floor(randgen1(u,1000,9999)))
Error executing script: halting
> pic_1 = cool_gnuplot_pic(125, 200)
I'm guessing I need to use "\%d.gp" since I'm on Windows (7), but that's not
all that's going on. This is with Gretl 1.9.92 cvs.
PS
-----Original Message-----
From: gretl-devel-bounces(a)lists.wfu.edu
[mailto:gretl-devel-bounces(a)lists.wfu.edu] On Behalf Of Riccardo (Jack)
Lucchetti
Sent: Friday, October 10, 2014 10:34 AM
To: Gretl development
Subject: Re: [Gretl-devel] Request for Comments: gnuplot and foreign
On Fri, 10 Oct 2014, Sven Schreiber wrote:
> Well, yes it's a nice example, but IMHO it really just shows Jack is
> good at speaking gnuplotish.
Actually, this was taken straight from
http://gnuplot.sourceforge.net/demo/pm3d.html
with minimal adaptations.
-------------------------------------------------------
Riccardo (Jack) Lucchetti
Dipartimento di Scienze Economiche e Sociali (DiSES)
Università Politecnica delle Marche
(formerly known as Università di Ancona)
r.lucchetti(a)univpm.it
http://www2.econ.univpm.it/servizi/hpp/lucchetti
-------------------------------------------------------