Re: Sideways violin plots in one plot cmd?

Ethan A Merritt <[email protected]>
Newsgroups gmane.comp.graphics.gnuplot.devel
Organization University of Washington
Message-ID <1963691.ExCDtP5htj@stonelion>
On Saturday, 15 August 2020 13:51:32 PDT Dima Kogan wrote:
> If we add better support for these, I think supporting more general
> transformations than just a simple x/y transpose would be useful. While
> thinking of violin plots I had a workaround idea: instead of a set of
> horizontally-spaced vertical density plots, I'd be fine with a set of
> vertically-spaced horizontal density plots. But I think gnuplot
> currently can't do that either: the density plots must be horizontal AND
> they must start at y=0. Right? So being able to support translations
> would be nice.

I may not understand what you want.
kdensity smoothing is a sum of Gaussians, so by definition the baseline
is zero.   That is not a limitation of how gnuplot plots things, that is
the definition of the function being plotted.    You can of course
save the resulting curve and plot it with an offset on y, just as the 
violin plot demo replots it vertically with an offset on x.

Are you trying to avoid the extra step of saving to an array or
datablock and then replotting?   That seems like a totally different
question from vertical/horizontal layout or coordinate transformations.

	Ethan




_______________________________________________
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.