I tested, and goes fine, but now, how can I restore the old situation?
El mié, 23-03-2016 a las 21:32 -0400, Ben Abbott escribió:
> > On Mar 23, 2016, at 10:05 AM, crfalc <[hidden email]> wrote:
> > I Octave 4.0.0 installed on a server. How do I use QT instead of
> > Gnuplot
> > command terminal ?
> I assume you want to run the GUI?
> octave --force-gui
> Then from Octave’s prompt
> graphics_toolkit qt
> close all
> plot (rand (3))
> Help-octave mailing list
> [hidden email] > https://lists.gnu.org/mailman/listinfo/help-octave
On Thu, Mar 24, 2016 at 04:08:42 -0700, crfalc wrote:
> it seems that the terminal can only use gnuplot.
> ans =
> [1,1] = gnuplot
> My Octave is installed on a server without graphical interface.
If you want to use the "qt" or "fltk" graphics toolkits in Octave, you
need an X display server. I assume you're connecting to your server with
SSH. Try using X over SSH or run a VNC on your server. Or if you don't
care about interactivity or viewing the plots, try Xvfb, that works for
> I installed Xvfb and go it use another graphics toolkit:
> $ Xvfb :5 -screen 0 800x600x24 &
> $ echo 'graphics_toolkit ("fltk"); plot (randn (10, 1)); print -dpng
> test.png' | DISPLAY=:5 octave –q
> It is to do the same commands from the Octave prompt ?
> Thank you.