[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: octave terminal qt instead of gnuplot.

From: Marco Atzeri
Subject: Re: octave terminal qt instead of gnuplot.
Date: Thu, 24 Mar 2016 22:44:55 +0100
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.7.0

On 24/03/2016 21:12, crfalc wrote:
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.

you can skip the echo with --eval

DISPLAY=:5 octave --eval 'graphics_toolkit ("fltk"); plot (randn (10, 1)); print -dpng test.png'


reply via email to

[Prev in Thread] Current Thread [Next in Thread]