英文:
Best way to visualize this data?
问题
有3个数据集,大致如下,但有大约600条记录。
[440.2, 441.5, 440.9, 441.8, 441.1 ..............]
[722.3, 722.8, 722.1, 723.0, 722.7 ..............]
[817.2, 817.6, 818.0, 817.5, 817.9 ..............]
数据集中的值彼此非常接近,与其他值相距较远。如何绘制这种类型的数据,以便所有数据点都在一个图中以进行比较?
英文:
I have 3 dataset that looks something like this but with around 600 records.
[440.2, 441.5, 440.9, 441.8, 441.1 ..............]
[722.3, 722.8, 722.1, 723.0, 722.7 ..............]
[817.2, 817.6, 818.0, 817.5, 817.9 ..............]
The values within the dataset are very close to each other while far away from others. How to plot such kind of data such that all of the datapoints are in one graph to show comparison?
答案1
得分: 1
这通常取决于您想要进行什么比较,但我的建议是对于您的三个数组,使用一个三系列散点图,以及一个递增的索引。通常,您的图表会是这样的,其中x是第一个数组,y是第二个数组,z是第三个数组:
您可以看到这里,X有倾向于处于较低的范围。Y位于500到750之间,最后z位于较高的范围。
英文:
This generally depends on what comparison you do want to make, but my suggestion is to use a 3-series scatter plot for your 3 arrays, alongside an incremental index. Typically, your graph would be something like this where x is the 1st array, y is the 2nd array and z is the 3rd array:
You can see here that X has a tendency to be on the lower spectrum. Y in the middle between 500 and 750 and finally z at the upper spectrum.
This is how your data should look like in the table (Add the index).
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论