- gnuplot Cookbook
- Lee Phillips
- 212字
- 2021-08-20 15:42:54
Plotting boxes
Gnuplot's box style is similar to a bar chart, with each value plotted as a box extending up from the axis. You can have the boxes filled with patterns, solid colors, or leave them empty.
This style is commonly used either as a type of histogram (covered later in this chapter) or as a way to compare a set of disparate items. The following figure plots boxes using the fill pattern:

How to do it…
It just takes the following script to get the previous figure:
set style fill pattern plot [-6:6] besj0(x) with boxes, sin(x) with boxes
How it works…
The first command tells gnuplot to fill the boxes with a fill pattern, cycling through the patterns available on the selected output device for each plot on the graph. The second command plots the two specified functions using the boxes style, which draws a box from the x-axis to the y value for each point.
- 計算機綜合設計實驗指導
- 云數據中心基礎
- Spark快速大數據分析(第2版)
- 算法與數據中臺:基于Google、Facebook與微博實踐
- Hadoop大數據實戰權威指南(第2版)
- 數據驅動:從方法到實踐
- 中國數字流域
- Python數據分析與挖掘實戰(第3版)
- IPython Interactive Computing and Visualization Cookbook(Second Edition)
- 中文版Access 2007實例與操作
- Visual FoxPro數據庫技術基礎
- Oracle 11g+ASP.NET數據庫系統開發案例教程
- The Natural Language Processing Workshop
- 數據庫查詢優化器的藝術:原理解析與SQL性能優化
- 數據中心經營之道