How to make an horizontal box-and-whiskers plot in gnuplot

时间秒杀一切 提交于 2019-12-13 17:06:42

问题


How do you make an horizontal box-and-whiskers plot in gnuplot? Similarly to this one:

Gnuplot can easily be used to produce vertical box-and-whiskers plots with the 'candlesticks' and 'whiskerbars' keywords, but I have not managed to find any example of an horizontal candlesticks/box-and-whiskers horizontal plot produced via gnuplot online.

Example of a vertical plot produced by gnuplot:

example of a vertical box-and-whiskers plot http://www.cise.ufl.edu/~dts/cop3530/proj02/candlesticks.6.png


回答1:


Gnuplot generally doesn't switch directions well... for example you can't plot rows instead of columns, and it's hard to make histograms (or any other kind of plot) go horizontal instead of vertical.

People have made horizontal histograms, however, and you might be able to modify the code found at this site.



来源:https://stackoverflow.com/questions/10823873/how-to-make-an-horizontal-box-and-whiskers-plot-in-gnuplot

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!