Received: by 10.224.31.20 with SMTP id w20mr12177307qac.2.1349682966560; Mon, 08 Oct 2012 00:56:06 -0700 (PDT) Received: by 10.52.91.168 with SMTP id cf8mr2378588vdb.6.1349682966529; Mon, 08 Oct 2012 00:56:06 -0700 (PDT) Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!l8no30756782qao.0!news-out.google.com!r17ni19qap.0!nntp.google.com!l8no30756780qao.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.graphics.apps.gnuplot Date: Mon, 8 Oct 2012 00:56:06 -0700 (PDT) In-Reply-To: <04fe07f1-47e3-4954-942a-b1c651c7f59b@googlegroups.com> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=193.202.255.201; posting-account=8Q3M2QoAAAAlk_ojsPOG8vtAW2zVxxAD NNTP-Posting-Host: 193.202.255.201 References: <04fe07f1-47e3-4954-942a-b1c651c7f59b@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: Re: set terminal windows From: ewalavir@gmail.com Injection-Date: Mon, 08 Oct 2012 07:56:06 +0000 Content-Type: text/plain; charset=ISO-8859-1 Xref: csiph.com comp.graphics.apps.gnuplot:1402 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\\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");