help-octave
[Top][All Lists]
Advanced

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

Re: gnuplot_x11 driver with octave.app/gnuplot.app on Mac


From: Thomas Treichl
Subject: Re: gnuplot_x11 driver with octave.app/gnuplot.app on Mac
Date: Fri, 10 Aug 2007 18:38:04 +0200
User-agent: Thunderbird 2.0.0.6 (Macintosh/20070728)

Henry F. Mollet schrieb:
Hi Thomas,
You've seen my reply using gnuplot directly but that's not the goal.

I've also tried your other suggestions in reverse order:

<Octave.app>/Contents/Resources/share/octave/2.9.13/m/plot/drawnow.m

   term = "x11";  #instead of term = "aqua"
Yes, this work, but then I can no longer use AquaTerm. Ideally I'd like to
toggle between x11 and AquaTerm as needed. I've tried
__gnuplot_set__ term aqua
but it no longer works in octave-2.9.13.
Works fine with octave-2.1.71/gnuplot-4.0

Henry,

I'm sorry I don't have any solution. It is necessary to decide which graphical monitor-backend of Gnuplot you want to use before using Octave. The problem that I do have is that Gnuplot does not start 'X11.app' automatically but it does for 'AquaTerm.framework', eg. if 'X11.app' isn't already opened then I get this error:

  -STARTUP OF GNUPLOT-
  Terminal type set to 'aqua'
  gnuplot> set term x11
  Terminal type set to 'x11'
  Options are '0'
  gnuplot> plot sin(x)/x
  gnuplot: unable to open display ':0.0'
  gnuplot: X11 aborted.

if 'X11.app' hasn't been started before 'Gnuplot.app' is started then it doesn't start at all (that's what I can see). So what should be done is to startup 'X11.app' before starting 'Gnuplot.app' even if people just want to use 'AquaTerm.framework' so that the user can decide individually at runtime - this implementation doesn't really make sense to me.

Which distribution 'octave-2.1.71/gnuplot-4.0' are you running? Does it open 'X11.app' automatically if needed?

  Thomas


reply via email to

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