octave-maintainers
[Top][All Lists]
Advanced

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

Re: --no-window-system option


From: Rik
Subject: Re: --no-window-system option
Date: Wed, 25 May 2016 10:26:43 -0700

On 05/25/2016 08:43 AM, address@hidden wrote:
Subject:
Re: --no-window-system option and plotting
From:
Pantxo <address@hidden>
Date:
05/25/2016 02:59 AM
To:
address@hidden
List-Post:
<mailto:address@hidden>
Content-Transfer-Encoding:
7bit
Precedence:
list
MIME-Version:
1.0
References:
<address@hidden>
In-Reply-To:
<address@hidden>
Message-ID:
<address@hidden>
Content-Type:
text/plain; charset=us-ascii
Message:
3

Hi,

Confirmed, I would expect Octave to fallback to gnuplot graphics_toolkit
with no display as it does e.g. when using ssh without X forwarding (no -Y
or -X option):

$ssh localhost
$octave -f -W
>>plot (1:10) 
You then obtain a plot drawn in the calling terminal.

Pantxo

Okay, I found that the following works to disable graphics

unsetenv DISPLAY
octave -f -W
plot (1:10)
=> ASCII-art plot

It seems that Octave is ignoring the -W option, and determining on its own whether graphics are available.  I did a little digging, and filed a bug report here https://savannah.gnu.org/bugs/index.php?48017.

Thanks for confirming,
Rik


reply via email to

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