Re: [Scilab-users] Running an .sce from the command line.

2018-01-27 Thread Rafael Guerra
Hello Adrian, Just to thank you for sharing this very useful solution which works great with Scilab 5.5.2 on Windows 7. Regards, Rafael -- Sent from: http://mailinglists.scilab.org/Scilab-users-Mailing-Lists-Archives-f2602246.html ___ users mailing

Re: [Scilab-users] Running an .sce from the command line. message 9 (scilab: message 11 of 20) of 20)

2016-04-01 Thread Tim Wescott
.org > > Subject: Re: [Scilab-users] Running an .sce from the command line. > > message 9 (scilab: message 11 of 20) of 20) > > > > > > > > plot2d (a, b, logflag = "ln") > > Look at help for plot2d for details. > > > > > > Sent f

Re: [Scilab-users] Running an .sce from the command line. message 9 (scilab: to exclusive) (scilab: to exclusive) of 20)

2016-04-01 Thread scilab . 20 . browseruk
> > Now all I need to resolve is my problem with setting the colors for > plot2d() so that I can get nice logplot axis and I'm done. > Responding to myself may not be the done thing here; but I just realised that color( r,g,b ); needs r,g,b as 0 -> 255 rather o -> 1 as used some other place

Re: [Scilab-users] Running an .sce from the command line. message 9 (scilab: to exclusive) of 20)

2016-04-01 Thread scilab . 20 . browseruk
> Set WshShell = WScript.CreateObject("WScript.Shell") > WshShell.AppActivate WScript.Arguments.Item(0) Adrian. Thanks. That would probably work; except I long ago disabled cscript/jscript/vbscript on my system for security reasons. I'm not sure I'd remember now how to re-enable it. (Nor that

Re: [Scilab-users] Running an .sce from the command line.

2016-04-01 Thread aweeks
ian Weeks Development Engineer, Hardware Engineering EMEA Office: +44 (0)2920 528500 | Desk: +44 (0)2920 528523 | Fax: +44 (0)2920 520178 awe...@hidglobal.com Unit 3, Cae Gwyrdd, Green meadow Springs, Cardiff, UK, CF15 7AB. www.hidglobal.com From: scilab.20.browse...@xoxy.net To: "users

Re: [Scilab-users] Running an .sce from the command line. message 9 of 20)

2016-04-01 Thread Samuel Gougeon
Hello, Le 01/04/2016 01:38, scilab.20.browse...@xoxy.net a écrit : Samuel, Thanks. I had to do it in two steps: f = gcf(); f.closerequestfcn="exit(0)"; . Yes, this works with Scilab 5 and Scilab 6. otherwise I get: gcf().closerequestfcn="exit(0)"; !--error 2 In

Re: [Scilab-users] Running an .sce from the command line. message 9 (scilab: message 11 of 20) of 20)

2016-03-31 Thread scilab . 20 . browseruk
seruk.1ebb8b2ddb.tim#wescottdesign@ob.0sg.net > Sent: Thu, 31 Mar 2016 17:33:23 -0700 > To: users@lists.scilab.org > Subject: Re: [Scilab-users] Running an .sce from the command line. > message 9 (scilab: message 11 of 20) of 20) > > > > plot2d (a, b, logflag = "

Re: [Scilab-users] Running an .sce from the command line. message 9 of 20)

2016-03-31 Thread Tim Wescott
ilab-users] Running an .sce from the command line. message 9 of 20) Samuel, Thanks. I had to do it in two steps:     f = gcf();     f.closerequestfcn="exit(0)"; otherwise I get:     gcf().closerequestfcn="exit(0)"; !--error 2     Invalid factor. The focus still retur

Re: [Scilab-users] Running an .sce from the command line. message 9 of 20)

2016-03-31 Thread scilab . 20 . browseruk
I'm doing: plot( log10( a ), b ); To produce the log plot. > -Original Message- > From: scilab.browseruk.bb30c473ec.sgougeon#free...@ob.0sg.net > Sent: Thu, 31 Mar 2016 21:09:20 +0200 > To: users@lists.scilab.org > Subject: Re: [Scilab-users] Running an .sce from the

Re: [Scilab-users] Running an .sce from the command line.

2016-03-31 Thread Samuel Gougeon
Hello, Le 31/03/2016 20:35, scilab.20.browse...@xoxy.net a écrit : Hi, I can run my .sce file which produces a graph from a file of data from the (windows) command line using: scilex -f myscript.sce filename.rdat and that works except: Once the plot() executes and the graphic window ap

Re: [Scilab-users] Running an .sce from the command line.

2016-03-31 Thread Tim Wescott
xend(). I don't know if this is what you want, but the enclosed .sce file generates a graph, writes an image to a .eps file, and then exits. This is how I generate graphs for papers -- it gives me a more maintainable way to replicate the graphs later, or tweak them, or whatever. Note that there

[Scilab-users] Running an .sce from the command line.

2016-03-31 Thread scilab . 20 . browseruk
Hi, I can run my .sce file which produces a graph from a file of data from the (windows) command line using: scilex -f myscript.sce filename.rdat and that works except: Once the plot() executes and the graphic window appears, control and focus returns to the interactive command line. Tha