[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gnumed-bugs] Error attempting Gnuplot on Kirk's measurement 0.9.3
From: |
Jim Busser |
Subject: |
Re: [Gnumed-bugs] Error attempting Gnuplot on Kirk's measurement 0.9.3 |
Date: |
Wed, 04 May 2011 08:19:16 -0700 |
On 2011-05-02, at 2:27 AM, Karsten Hilbert wrote:
>> I am using GNUmed in X11 and so I expect my GNUmed should
>> try to call gnuplot_x11?
I have copied Sebastian in case he would like to be aware of such things :-)
I seem to now have gnuplot working as a consequence of one or more of the
following. Be it known that I did not end up having to clone or symlink or
otherwise disturb the MacPorts installation or even alter my PATH which already
included the base MacPorts directories.
Based on
http://www.macresearch.org/gnuplot_x11_issues
what I did (after which GNUmed began calling gnuplot) was
In a terminal:
export DISPLAY=":0"
gnuplot
gnuplot > set term X11
gnuplot > plot sin(x) <------ does nothing
Then run Apple's X11 (which wasn't running, but which normally loads when
GNUmed on Mac under MacPorts/X11 loads)
(I gather gnuplot cannot cause Apple's X11 "application" to load, if it
is not already running)
(open a terminal *inside* X11)
export DISPLAY=":0"
gnuplot
gnuplot
gnuplot > set term X11 <--------- as opposed to default (= set term
aqua)
gnuplot > plot sin(x) <----- works! causes a window to open, displaying
sin(x)
Restarted computer, then ran GNUmed
select measurements, select his single value WBC count
----> see attached output! <grin>
Gnuplot (on Mac) defaults to use Aqua Term and something in what I did above,
maybe even just the one-time running of
export DISPLAY=":0"
gnuplot
was enough to allow my X11 version of GNUmed (on Mac) to call gnuplot which
passed the output to Aqua Term which I did not recall having installed!
-- Jim

[Gnumed-bugs] Error attempting Gnuplot on Report generator, Jim Busser, 2011/05/05