如何在gnuplot中制作水平的盒子和胡须 [英] How to make an horizontal box-and-whiskers plot in gnuplot
问题描述
你如何在gnuplot中制作一个水平的盒子和胡须的情节?与此类似:
Gnuplot可以很容易地用于生成垂直方格和胡须图,烛台和whiskerbars关键字,但我还没有设法找到任何通过gnuplot在线制作的水平烛台/盒子和须晶水平图的例子。
示例由gnuplot生成的垂直图:
垂直盒须图的例子http://www.cise.ufl.edu/~dts/cop3530/proj02/candlesticks.6.png
Gnuplot通常不会很好地切换方向......例如,您不能绘制行而不是列,而且很难使直方图(或任何其他种类的图)水平i而不是垂直。
然而,人们已经制作了水平直方图,您可能可以修改发现的代码 at this site 。
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:
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.
这篇关于如何在gnuplot中制作水平的盒子和胡须的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!