Any function in Gnuplot that is equivalent of the Beeswarm dotplot? - gnuplot

I am looking for a function in Gnuplot to create a so called Beeswarm dotplot. This is very popular plots used in medicine and biology. I know it can be done in Grapgpad Prism and in R but I would like to continue using Gnuplots for making graphs

Related

Using the results of an interactive plot to update a second graph on a grid using Bokeh and CustomJS

I have an interactive Bokeh plot that uses CheckboxGroup to plot experimental additive values of different sources. In the background I have stationary plots of theoretical requirement values.
I want to be able to, e.g.
1.click on sourceA and sourceB resulting in the plot of sourceA+sourceB - I have 8-9 sources and already have this working
2.use a linked plot that shows the percentage error of this combination relative to all the theoretical requirement values.
I don't know JS so, can't really understand how to use this dynamic value for another plot.
Callback for the first part of the problem is as follows:
https://stackoverflow.com/a/54455722/8565759
I can't really show an image of the actual results, the data is export controlled.

Different behaviour of plots on Octave-CLI and Octave-GUI

I use Octave v 4.4.1 and it has been observed that I get different looking plots while plotting using Octave-CLI and Octave-GUI. I had configured the graphics_toolkit to be Gnuplot.
Plot using Octave - CLI :
Plot using Octave - GUI :
I am unsure why such a difference exists between the plots. Is there a way by which I can get the behaviour of Octave-GUI plot on Octave-CLI? It will be well appreciated if someone can say about the reason why the differences happen to be so.

Using images for points in gnuplot

I have a frivolous question. Is there any way to use an image in lieu of points in gnuplot? For example, if I was plotting data about pasta consumption or something, I would have pictures of pasta (instead of usual gnuplot points).
Another option is to find a dingbats type of font with a suitable glyph. Then you can use "plot with labels" using that glyph as the label string. See for example the 5th plot in the demo
http://gnuplot.sourceforge.net/demo/stringvar.html
I haven't played around with this feature at all myself, however, there is:
http://gnuplot.sourceforge.net/demo/barchart_art.html
Which shows the use of png files on a bar chart (Note, that this feature was added in Gnuplot 4.5 -- I think). With a little creativity, it seems like you could use that feature to do what you're asking -- although it would require a whole bunch of plot commands so it might be useful to write a script to generate the gnuplot script (or use iteration depending on your dataset) -- Obviously your image files would have to be in a format that your version of gnuplot understands as well ...
A possible strategy may be the plot with rgbimage option in gnuplot.
See the second example over here: http://www.gnuplot.info/demo_4.2/image.html
If you relate the center option with your data points, this may be possible.

How can I draw an implicit function f(x,y,z)=0 with gnuplot?

I want to draw the following implicit function with gnuplot
x**2+y**2+(z-1)**3-2
I know that maple or matlab can to this very simple but I want to use gnuplot.
Up to know I have no idea so I can't provide a starting point.
sorry
Here the result plotted with maple
According to the Gnuplot FAQ, this is not directly possible. There is a workaround for 2D-functions, but I don't see how this method can be applied to 3D graphs. I'd recommend solving the equation in Octave or some similar program and outputting the solutions to a file, which you can then feed into GnuPlot.

2d geometry drawing tool

I'm looking for some tool/library that is able to draw simple 2d geometries from text file or programatically. I already found List of interactive geometry software but that not quite what I'm looking for. I would prefer something more similar in usage to graphviz or gnuplot. I already wrote some scripts for gnuplot but this tool has been designed for different purposes. Required functionality:
support for different kind of 2D geometries: points, segments, lines, circles, polygons
simple input type format maybe similar to postgis Well Known Text
support for objects additional data like tags and colors definition
output in common image format or some kind of interactive GUI (with zoom in/out and select object)
configurable grid
autoscale or draw in defined area
I will use it for testing geometry algorithms and don't want to reinvent the wheel.
Matplotlib. I'm not familiar with all the aspects of this Python library but I've heard it is pretty good.
To quote their introduction,
matplotlib is a python 2D plotting
library which produces publication
quality figures in a variety of
hardcopy formats and interactive
environments across platforms.
matplotlib can be used in python
scripts, the python and ipython shell
(ala MATLAB®* or Mathematica®†), web
application servers, and six graphical
user interface toolkits.
matplotlib tries to make easy things
easy and hard things possible. You can
generate plots, histograms, power
spectra, bar charts, errorcharts,
scatterplots, etc, with just a few
lines of code. For a sampling, see the
screenshots, thumbnail gallery, and
examples directory
(source: sourceforge.net)
>
For example, using "ipython -pylab" to
provide an interactive environment, to
generate 10,000 gaussian random
numbers and plot a histogram with 100
bins, you simply need to type
x = randn(10000)
hist(x, 100)
For the power user, you have full
control of line styles, font
properties, axes properties, etc, via
an object oriented interface or via a
set of functions familiar to MATLAB
users. The pylab mode provides all of
the pyplot plotting functions listed
below, as well as non-plotting
functions from numpy and
matplotlib.mlab.
Maybe dia, with it's SVG output option is what you're looking for? It can be scripted in Python.

Resources