Re: Sideways violin plots in one plot cmd?

Juhász Péter <[email protected]>
Newsgroups gmane.comp.graphics.gnuplot.devel
Message-ID <[email protected]>
On Wed, 2020-08-05 at 23:46 -0700, Dima Kogan wrote:
> A question. I'm looking at the violin plot demo page:
> 
>   http://gnuplot.sourceforge.net/demo/violinplot.html
> 
> It shows how to make a horizontal density plot using 'smooth
> kdensity'.
> 
> Then it shows to to make a vertical density plot by plotting
> horizontally into a table, and then plotting the table, with "using"
> directives used to swap the axes. This works clearly, but is there a
> way
> to do this (vertical density plots) with a single plot command? That
> would make my life much easier.
> 
> Thanks!
> 
> 
> 

Well, recently at $work I used gnuplot to produce a sideways histogram.
Because it had to be sideways, I had to resort to manually assembling
the plot with the boxxyerror style, with an awkward preprocessing step.

This, and your question, gives me the idea that it might be worth
adding a general 'transpose' option to some of the "clever" plot styles
that produce non-trivial vertical plots (histograms and boxplots,
mostly).

best regards,
Peter Juhasz




_______________________________________________
gnuplot-beta mailing list
[email protected]
Membership management via: https://lists.sourceforge.net/lists/listinfo/gnuplot-beta
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.