[Scilab-users] Scilab command line: 'unable to open display'

2014-08-20 Thread Matiasb
Hi all, 

I need to run Scilab as a batch program in a linux server which does not
have x11 or any display installed. 
Scilab can be started as a command line using the -nw or -nwni options
(-nwni is the one i'm interested in as I don't need plots/graphics).
Nevertheless when I try to start scilab using those options I get the
following error, as if it would be still trying to get some display.

Thanks in advance for any help or pointer on how to solve this issue.
Matias

*[mbonaven@matiastdaq scilab-5.5.0]$ ./bin/scilab -nwni*
Error: unable to open display 
/usr/bin/chcon: failed to change context of
`/afs/cern.ch/work/m/mbonaven/public/powerDEVS/scilab-5.5.0/bin/scilab-bin'
to `system_u:object_r:execmem_exec_t:s0': Operation not supported
Error: Cannot chcon 'scilab-bin'
/usr/bin/chcon: failed to change context of
`/afs/cern.ch/work/m/mbonaven/public/powerDEVS/scilab-5.5.0/bin/scilab-cli-bin'
to `system_u:object_r:execmem_exec_t:s0': Operation not supported
Error: Cannot chcon 'scilab-cli-bin'
scilab-cli-bin: /lib64/libc.so.6: version `GLIBC_2.14' not found (required
by scilab-cli-bin)
scilab-cli-bin:
/afs/cern.ch/work/m/mbonaven/public/powerDEVS/scilab-5.5.0/lib/thirdparty/libcurl.so.4:
no version information available (required by
/afs/cern.ch/work/m/mbonaven/public/powerDEVS/scilab-5.5.0/lib/scilab/libscilab-cli.so.0)
scilab-cli-bin: /lib64/libc.so.6: version `GLIBC_2.14' not found (required
by
/afs/cern.ch/work/m/mbonaven/public/powerDEVS/scilab-5.5.0/lib/scilab/libscilab-cli.so.0)
scilab-cli-bin:
/afs/cern.ch/work/m/mbonaven/public/powerDEVS/scilab-5.5.0/lib/thirdparty/libcrypto.so.0.9.8:
no version information available (required by
/afs/cern.ch/work/m/mbonaven/public/powerDEVS/scilab-5.5.0/lib/thirdparty/libcurl.so.4)
scilab-cli-bin:
/afs/cern.ch/work/m/mbonaven/public/powerDEVS/scilab-5.5.0/lib/thirdparty/libssl.so.0.9.8:
no version information available (required by
/afs/cern.ch/work/m/mbonaven/public/powerDEVS/scilab-5.5.0/lib/thirdparty/libcurl.so.4)
scilab-cli-bin: /lib64/libc.so.6: version `GLIBC_2.14' not found (required
by
/afs/cern.ch/work/m/mbonaven/public/powerDEVS/scilab-5.5.0/lib/scilab/libscifunctions.so.5)
scilab-cli-bin: /lib64/libc.so.6: version `GLIBC_2.14' not found (required
by
/afs/cern.ch/work/m/mbonaven/public/powerDEVS/scilab-5.5.0/lib/scilab/libscicompletion.so.5)
scilab-cli-bin: /lib64/libc.so.6: version `GLIBC_2.14' not found (required
by
/afs/cern.ch/work/m/mbonaven/public/powerDEVS/scilab-5.5.0/lib/scilab/libscihistory_manager.so.5)
scilab-cli-bin: /lib64/libc.so.6: version `GLIBC_2.14' not found (required
by
/afs/cern.ch/work/m/mbonaven/public/powerDEVS/scilab-5.5.0/lib/scilab/libscihdf5.so.5)
scilab-cli-bin: /lib64/libc.so.6: version `GLIBC_2.14' not found (required
by
/afs/cern.ch/work/m/mbonaven/public/powerDEVS/scilab-5.5.0/lib/scilab/libscixml.so.5)
scilab-cli-bin: /lib64/libc.so.6: version `GLIBC_2.14' not found (required
by
/afs/cern.ch/work/m/mbonaven/public/powerDEVS/scilab-5.5.0/lib/thirdparty/libxml2.so.2)
scilab-cli-bin: /lib64/libc.so.6: version `GLIBC_2.14' not found (required
by
/afs/cern.ch/work/m/mbonaven/public/powerDEVS/scilab-5.5.0/lib/thirdparty/libgfortran.so.3)
scilab-cli-bin: /lib64/libc.so.6: version `GLIBC_2.14' not found (required
by
/afs/cern.ch/work/m/mbonaven/public/powerDEVS/scilab-5.5.0/lib/thirdparty/libquadmath.so.0)




--
View this message in context: 
http://mailinglists.scilab.org/Scilab-command-line-unable-to-open-display-tp4031071.html
Sent from the Scilab users - Mailing Lists Archives mailing list archive at 
Nabble.com.
___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users


[Scilab-users] Scilab 5.5.0 in Windows Vista OS -- graphics issue

2014-08-20 Thread tanthiamhuat
are there any issues of using Scilab 5.5.0 in Windows Vista OS, for graphics?

for the below code, it gives me a black screen when run in Windows Vista,
but in Windows 7, it is ok.
when I run the below code in Windows Vista, using Scilab 5.4.1, it is able
to display the correct plot.

function f=zdt1(x)
f1_x1 = x(:,1);
g_x2  = 1 + 9 * ((x(:,2)-x(:,1)).^2);
h = 1 - sqrt(f1_x1 ./ g_x2);
 
f(:,1) = f1_x1;
f(:,2) = g_x2 .* h;
endfunction 

X_in=rand(1000,2);
F_in=zdt1(X_in);
[F_out,X_out,Ind_out] = pareto_filter(F_in,X_in)
drawlater;
plot(F_in(:,1),F_in(:,2),'.r')
plot(F_out(:,1),F_out(:,2),'.b')
drawnow



--
View this message in context: 
http://mailinglists.scilab.org/Scilab-5-5-0-in-Windows-Vista-OS-graphics-issue-tp4031073.html
Sent from the Scilab users - Mailing Lists Archives mailing list archive at 
Nabble.com.
___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users


[Scilab-users] multiple plots

2014-08-20 Thread grivet
For a single plot, it is possible to choose many aspects of the plot 
using, for instance

ha = gca();
ha.data_bounds=[-5, -5 ; 20, 20];

Is it possible to have the same possibilities within subplots, like
subplot(2,1,1)
ha1 = gca();
ha1.data_bounds=[-5, -5 ; 20, 20];
subplot(2,1,2)
ha2 = gca;
ha2.data_bounds=[-1, -1 ; 2, 2];
(which does not work with Scilab 5.5/win7).

I would like to plot two different variables, with different units and 
ranges. Even more

ambitious, I would like to run different animations in each subplot.

Thank you for any suggestions.
JP Grivet

___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users


Re: [Scilab-users] multiple plots

2014-08-20 Thread Serge Steer

ecau
Le 20/08/2014 15:32, grivet a écrit :
For a single plot, it is possible to choose many aspects of the plot 
using, for instance

ha = gca();
ha.data_bounds=[-5, -5 ; 20, 20];

Is it possible to have the same possibilities within subplots, like
subplot(2,1,1)
ha1 = gca();
ha1.data_bounds=[-5, -5 ; 20, 20];
subplot(2,1,2)
ha2 = gca;

take care: here you must write  ha2 = gca();
the instruction ha2=gca just copy the gca reference into ha2

ha2.data_bounds=[-1, -1 ; 2, 2];
(which does not work with Scilab 5.5/win7).

I would like to plot two different variables, with different units and 
ranges. Even more

ambitious, I would like to run different animations in each subplot.


both are possible.
for smooth animation it is better to update the polyline data instead of 
clearing the window and recreating the subwindows and their children

Serge Steer

Thank you for any suggestions.
JP Grivet

___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users



___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users