我将尝试绘制一张密度图,数据包含两个不同范围的列。RMSD 列的取值范围为 [0-2],Angle 列的取值范围为 [0-200]。
我的文件数据如下:
0.0225370 37.088
0.1049553 35.309
0.0710002 33.993
0.0866880 34.708
0.0912664 33.011
0.0932054 33.191
0.1083590 37.276
0.1104145 34.882
0.1027977 34.341
0.0896688 35.991
0.1047578 36.457
0.1215936 38.914
0.1105484 35.051
0.0974138 35.533
0.1390955 33.601
0.1333878 32.133
0.0933365 35.714
0.1200465 33.038
0.1155794 33.694
0.1125247 34.522
0.1181806 37.890
0.1291700 38.871
- I want both x and y axis to be binned 1/10th of the range
- The 0 of both the axis to be starting in the same
Print the number of elements in each grid of the matrix like this and make a density plot based on these number of elements
0 0.1 0.2 (RMSD) 0 0 1 3 20 2 0 4 40 1 0 5 60 0 0 2 (Angle)
感谢您的帮助。
hist3
的输出大小是由边的数量确定的。 - Luis Mendo