[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Octave/OS X Aquaterm problems (bugs or me?)
From: |
Henry F. Mollet |
Subject: |
Re: Octave/OS X Aquaterm problems (bugs or me?) |
Date: |
Mon, 05 Jan 2004 14:25:49 -0800 |
User-agent: |
Microsoft-Entourage/10.1.1.2418 |
After making appropriate changes, figure.m now works works on my Mac:
octave:4> figure(1)
ans = 1
But what have I achieved with this. What I can I now do that I could not do
before?
Henry
on 1/5/04 12:43 PM, Joe Koski at address@hidden wrote:
> OK, I received the forwarded message below with the patch for my OS
> X/Aquaterm problem with figure.m. However, instead of the block of figure.m
> (from the octave-forge MACOSX directory) that Jean-Francois recommended in
> his message, I replaced this block:
>
> if (! isempty (gnuterm=getenv ("GNUTERM")))
> oneplot ();
> figure_list = union (figure_list, f);
> eval (sprintf ("gset term %s %d\n",gnuterm, f));
> elseif (! isempty (getenv ("DISPLAY")))
> oneplot ();
> figure_list = union (figure_list, f);
> eval (sprintf ("gset term x11 %d\n", f));
> else
> error ("figure: requires X11 and valid DISPLAY");
> endif
>
> with his recommended patch:
>
> oneplot ();
> figure_list = union (figure_list, f);
> eval (sprintf ("gset term aqua %d\n", f));
>
> and everything seems to be working well. Thanks, Jean-Francois.
>
> Joe Koski
>
>
> ------ Forwarded Message
> From: Jean-Francois Cardoso <address@hidden>
> Date: Mon, 5 Jan 2004 19:03:30 +0100
> To: address@hidden
> Subject: figure in octave
>
>
>
> Hello Joe,
>
>> As a relatively new Octave user, I having some problems with the Mac
>> OS X/Aquaterm graphics interface, and I've not had enough experience
>> to determine if the problems are me, or the Aquaterm interface
>> itself.
>
> =======================================================================
>
> To fix your problem, find the file figure.m in octave, change the block
>
> if (! isempty (getenv ("DISPLAY")))
> oneplot ();
> figure_list = union (figure_list, f);
> eval (sprintf ("gset term x11 %d\n", f));
> else
> error ("figure: requires X11 and valid DISPLAY");
> endif
> to
>
> oneplot ();
> figure_list = union (figure_list, f);
> eval (sprintf ("gset term aqua %d\n", f));
>
>
> and save the result as figure.m somewhere on your path where it will
> be found before the original figure.m.
>
> =======================================================================
>
> Could you also please post this response to the octave-help list (I am
> not subscribed myself)? Thanks.
>
> Cheers, JF
>
>
> ------ End of Forwarded Message
>
>
>
> -------------------------------------------------------------
> Octave is freely available under the terms of the GNU GPL.
>
> Octave's home on the web: http://www.octave.org
> How to fund new projects: http://www.octave.org/funding.html
> Subscription information: http://www.octave.org/archive.html
> -------------------------------------------------------------
-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.
Octave's home on the web: http://www.octave.org
How to fund new projects: http://www.octave.org/funding.html
Subscription information: http://www.octave.org/archive.html
-------------------------------------------------------------
- Octave/OS X Aquaterm problems (bugs or me?), Joe Koski, 2004/01/04
- Re: Octave/OS X Aquaterm problems (bugs or me?), Joe Koski, 2004/01/05
- Re: Octave/OS X Aquaterm problems (bugs or me?),
Henry F. Mollet <=
- RE: Octave/OS X Aquaterm problems (bugs or me?), Joe Koski, 2004/01/05
- Re: Octave/OS X Aquaterm problems (bugs or me?), Henry F. Mollet, 2004/01/06
- Re: Gnuplot, Henry F. Mollet, 2004/01/08
- Re: Gnuplot, Vic Norton, 2004/01/08
- Re: Gnuplot, Dmitri A. Sergatskov, 2004/01/08
- Re: Gnuplot, Henry F. Mollet, 2004/01/08