开发者

Visualization of freqency data

开发者 https://www.devze.com 2023-04-02 00:14 出处:网络
Does any one know a great way to display the frequency of datafor different table where the tables have missing values.

Does any one know a great way to display the frequency of data for different table where the tables have missing values.

Take an Example

Table A                             Table B                          Table C
List  | Freq                         List  | Freq                      List  | Freq
1        10                           2       29                        3       10
2.5      300                          2.5     16                        3.5     120
3.5      100                          3       100                       4   开发者_JAVA技巧   100        

How best can I visualize this data such that I can see comparison between the tabel. The histogram is not cutting it for me because of the bin thing.


It look as usual plot in parametric form, i.e. defined by 2 arrays {x[i],y[i]}. In yours case x[i] can be "List", y[i] can be "Freq". For particular plot I can recommend Stem plot. In MathGL (GPL plotting library) you can call Stem(x,y,stl); several times for each table and change style for each of them (like, stl="bx", "ro", "gs" -- blue x, red circle, green square and so on, see MathGL line styles).

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号