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
.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
>
> 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
> 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
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
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
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 = "
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
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
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
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
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
12 matches
Mail list logo