From: Ethan A M. <me...@uw...> - 2020-08-15 22:56:12
|
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 |