Home:ALL Converter>Scilab plots in -nogui mode

Scilab plots in -nogui mode

Ask Time:2011-08-13T14:19:15         Author:rightskewed

Json Formatter

Is it possible to plot graphs when running Scialb in -nogui mode ? I tried the following :

saket@launchpad:~$scilab -nogui
-->x=[1:10];
-->y= sin(x);
-->plot2d(x,y)

which gives the following error:

plot2d(x,y)

 !--error 999 
 Scilab graphic module disabled -nogui or -nwni mode.

Is there workaround for this . For example I called an octave instance for plotting this way :

 octave --persist --eval 'x=[1:10];y=sin(x);plot(x,y);'

Is it possible to do it the Sciulab way itself without using octave?

Author:rightskewed,eproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/7048968/scilab-plots-in-nogui-mode
yy