If you need to change the buffer size, start up gconf-editor from the command line and then navigate to apps->rhythmbox->state->iradio. Double click on the buffer_size key and set it to however many kilobytes you like.
A proper configuration UI would be nice :)
The algorithm requires
proximity values which are caluclated by default as Euclidean
distances. If you have some other measure of similarity,
you can provide
a daat file with the proximity values in upper triangular
form. Note that for large datasets this file is going to be
big and reading it in will take some time!
(You can get an R package that wraps
the C implementation in R, providing eas of use along with speed, here
This is a small peice of code which is based on the C interface to gnuplot written by N. Devillard. The original code was pure C and though it compiled with a C++ compiler I felt that it could be rewritten in an OO fashion. Hence this project. Like the original interface, it depends on the system having POSIX pipes.
You can get the tarball here. It contains the source for the interface as well as an example program (which is simply a C++ version of the original example program). The code is licensed under the LGPL
Right now there is'nt any documentation - you need to look through the header file. However all the function names are identical to the original C version and the example program pretty much uses all the functions.
UPDATE: Removed the OS X specific example code from the tarball, since it's no longer required
UPDATE: Thanks to Markus Burgis for several updates that allow you to choose the standard terminal, choose columns to plot, enable interpolation and several new function wrappers (replot, reset_all, contour, surface)
UPDATE: Thanks to Mojca Milavec and Arthur Reutenauer for pointing out the use of the x11 and aqua terminals. The code has been updated so that each constructor takes an extra argument indicating whether to check for the presence of X11 (via the DISPLAY variable). This argument only has effect on OS X and is ignored on other platforms. If true the code will use the x11 terminal and if false it will use the aqua terminal. Note that if you use the default constructor (no arguments) the terminal is set to x11. A version of example.cc (named example_osx.cc) makes use of the aqua terminal. On OS X, do make osx to generate the executable
UPDATE: Thanks to Jeremy Conlin for pointing out some missing define statements that would prevent it working on OS X
UPDATE: Thanks to Markus Burgis for provide corrections for Win32 and Linux compatibility as well as a number of member functions
UPDATE: Thanks to Martin Ettl for providing functions to set the X,Y and Z ranges as well as provide a function make plots using image data. Note that the plot_image function will not work with versions of gnuplot below 4.2. In such cases, the example program will hang with an error message.
INFO: Thanks to Olaf Booji for pointing out that if a command sent to gnuplot via the pipe based mechanism includes a % sign, it should be escaped by a % sign. That is, to send the command string
set format "%s"to gnuplot you should do
g.cmd("set format \"%%s\"");
UPDATE: Thanks to Martin Ettl for providing a function that generates 3D plots.
BUGFIX: Thanks to Keizo Gates for pointing out a mistake in the set_ylabel() method which was sending a 'set xlabel' rather than a 'set ylabel'.
BUGFIX: Thanks to Jari Hakkinen for supplying a patch to remove compiler warnings and a more serious error in which the pipe to gnuplot wsa closed before data was plotted
BUGFIX: Thanks to Jean-Bernard Hayet for pointing out a mistake in the plot_xy() method.
BUGFIX: Thanks to Ken Cecka for pointing out a small bug and supplying the fix.
BUGFIX: Thanks to Peter Cock for pointing out a compile time warning regarding the use of va_start. Its now fixed.
gtkcdlabel (you can download here) can get track names and album names via the FreeDB service, parse ID3 tags in the case of MP3 collections, handles UTF8 and locales and is generally a nice way to create CD covers :)