Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.graphics.apps.gnuplot > #1402

Re: set terminal windows

Newsgroups comp.graphics.apps.gnuplot
Date 2012-10-08 00:56 -0700
References <04fe07f1-47e3-4954-942a-b1c651c7f59b@googlegroups.com>
Message-ID <eada333a-1d53-42bb-a900-005015c3161c@googlegroups.com> (permalink)
Subject Re: set terminal windows
From ewalavir@gmail.com

Show all headers | View raw


On Friday, October 5, 2012 2:14:58 PM UTC+2, (unknown) wrote:
> Hello,
> 
> 
> 
> I'm trying to use Gnuplot with Octave. After quite a big number of tries, I found this funny thing:
> 
> 
> 
> The command "peaks" typed in Octave compiled with Microsoft Visual uses the 'wxt' terminal, wheras the Octave compiled with MinGW uses the 'windows' terminal.
> 
> 
> 
> The situation is the following: I need to use the Microsoft Visual package, but I want the 'windows' terminal of Gnuplot.
> 
> 
> 
> I have created a GNUPLOT.INI in C:\Users\<user>\AppData\Roaming with the single line "set terminal windows". It works because after that, running directly Gnuplot and typing "plot sin(x)" uses the 'windows' terminal.
> 
> 
> 
> And the problem is that the "peaks" command still runs Gnuplot with the 'wxt' terminal. It seems that Gnuplot ignores this config file when called by Octave.
> 
> 
> 
> How to change this behaviour and use the 'windows' terminal when plotting from Octave? 
> 
> 
> 
> Thanks!

I'm replying to myself as it might help other people.

In fact, I have to use the following command in Octave:

    setenv ("GNUTERM", "windows");

Back to comp.graphics.apps.gnuplot | Previous | NextPrevious in thread | Find similar


Thread

set terminal windows ewalavir@gmail.com - 2012-10-05 05:14 -0700
  Re: set terminal windows ewalavir@gmail.com - 2012-10-08 00:56 -0700

csiph-web