l i n u x - u s e r s - g r o u p - o f - d a v i s
Next Meeting:
July 7: Social gathering
Next Installfest:
Latest News:
Jun. 14: June LUGOD meeting cancelled
Page last updated:
2005 May 29 16:46

The following is an archive of a post made to our 'vox-tech mailing list' by one of its subscribers.

Report this post as spam:

(Enter your email address)
[vox-tech] tell gnuplot to use a single X11 window
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[vox-tech] tell gnuplot to use a single X11 window

Hi everyone,

is there any good way to get gnuplot to send its output to a single window, 
such that any successive plots update an existing X11 window?

i have looked over the gnuplot man page, and can't seem to find what i am 
looking for.

while it is a little ridiculous, i like to keep track of my progress while 
writting with this little script:

while `true`; do wc -w main.tex | awk '{print $1}' >> word_count ;\
echo "set ylab 'words'; set xlab 'minutes'; \
plot 'word_count' with lines notitle" | gnuplot -persist;\
sleep 60; done

this produces a nice little graph updated once a minute. however, gnuplot on 
linux produces a new window with every plot. on OSX it is possible to keep 
all output in a single window* .

* there is a bit of a difference on OSX, as an application called AquaTerm is 
being used to render the output, not X11.

any ideas on how to do this with regular X11?


Dylan Beaudette
Soils and Biogeochemistry Graduate Group
University of California at Davis
vox-tech mailing list

LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
LUGOD Group on Facebook
'Like' LUGOD on Facebook:

Hosting provided by:
Sunset Systems
Sunset Systems offers preconfigured Linux systems, remote system administration and custom software development.

LUGOD: Linux Users' Group of Davis
PO Box 2082, Davis, CA 95617
Contact Us

LUGOD is a 501(c)7 non-profit organization
based in Davis, California
and serving the Sacramento area.
"Linux" is a trademark of Linus Torvalds.

Sponsored in part by:
O'Reilly and Associates
For numerous book donations.