data-visualization

Visual Treemap in Winforms

六月ゝ 毕业季﹏ 提交于 2019-12-03 03:11:33
Are there any frameworks for building squarified treemaps in C# 2.0 WinForms? Something similar to this: (from http://www.codeproject.com/KB/recipes/treemaps.aspx ) Microsoft Research put one together. Don't know how easy it is use. http://research.microsoft.com/en-us/downloads/dda33e92-f0e8-4961-baaa-98160a006c27/default.aspx I know you asked about WinForms, but I'm sure someone will hit this page when searching for WPF tree maps. This currently seems to be the best WPF freebie out there, though I found a few minor issues with it, it's still pretty good: http://treemaps.codeplex.com/ Check

Matplotlib : quiver and imshow superimposed, how can I set two colorbars?

我的梦境 提交于 2019-12-03 01:15:21
I have a figure that consists of an image displayed by imshow() , a contour and a vector field set by quiver() . I have colored the vector field based on another scalar quantity. On the right of my figure, I have made a colorbar() . This colorbar() represents the values displayed by imshow() (which can be positive and negative in my case). I'd like to know how I could setup another colorbar which would be based on the values of the scalar quantity upon which the color of the vectors is based. Does anyone know how to do that? Here is an example of the image I've been able to make. Notice that

Good Ways to Visualize Longitudinal Categorical Data in R

佐手、 提交于 2019-12-03 00:29:48
问题 [ Update: Although I've accepted an answer, please add another answer if you have additional visualization ideas (whether in R or another language/program). Texts on categorical data analysis don't seem to say much about visualizing longitudinal data, while texts on longitudinal data analysis don't seem to say much about visualizing within-subject changes over time in category membership. Having more answers to this question will make it a better resource on an issue that doesn't get much

How to plot 3D scatter diagram using ggplot?

巧了我就是萌 提交于 2019-12-02 23:14:42
I tried to use "plotly" function but It is not working in my case at all. "ggplot" is working is in a case of 2D but it is giving an error when adding one more axis. How to solve this issue? ggplot(data,aes(x=D1,y=D2,z=D3,color=Sample))+geom_point() How to add one more axis and get the 3D plot in this? Thank You. Since you tagged your question with plotly and said that you've tried to use it with plotly, I think it would be helpful to give you a working code solution in plotly : Creating some data to plot with: set.seed(417) library(plotly) temp <- rnorm(100, mean=30, sd=5) pressure <- rnorm

Sankey diagram in javascript

安稳与你 提交于 2019-12-02 20:53:28
I want to draw a Sankey diagram using Javascript. Can anyone provide some direction regarding the algorithms or libraries that are available for this? This is a basic Sankey diagram using raphaeljs function Sankey(x0, y0, height, losses) { var initialcolor = Raphael.getColor(); var start = x0 + 200; var level = y0 + height; var heightunit = height / 100; var remaining = 100 * heightunit; function drawloss(start, level, loss) { var thecolor = Raphael.getColor(); paper.path("M" + (start - 100) + "," + (level - loss) + "L" + start + "," + (level - loss)).attr({stroke: thecolor}); paper.path("M" +

R parallel coordinate plot with fixed scale on X-axis, no matter how large the plot becomes

六眼飞鱼酱① 提交于 2019-12-02 19:55:54
问题 I am trying to build a parallel coordinate diagram in R for showing the difference in ranking in different age groups. And I want to have a fixed scale on the Y axis for showing the values. Here is a PC plot : The goal is to see the slopes of the lines really well . So if I have value 1 that is bound with the value 1000, I want to see the line going aaall the way down steeply. In R so far, if I have values that are too big, my plot is all squished so everything fits and it's hard to visualize

How to make matplotlib graphs look professionally done like this?

给你一囗甜甜゛ 提交于 2019-12-02 19:30:17
Default matplotlib graphs look really unattractive and even unprofessional. I tried out couple of packages include seaborn as well as prettyplotlib but both of these just barely improves the styles. So far I've gotten to following using seaborn package: Below is the appearance I'm looking for which is far cry from above: Notice the following niceness in the 2nd example: Area under the graph is filled with much more eye pleasing color. The graph line is thinker and nicely stands out. Axis lines are thinker and again nicely stands out. Area under the curve is transparent. X-Axis tick marks are

how use bokeh vbar chart parameter with groupby object?

你离开我真会死。 提交于 2019-12-02 19:18:55
问题 Question Below code is grouped vbar chart example from bokeh documentation. There are something i can't understand on this example. Where 'cyl_mfr' is come from in factor_cmap() and vbar()? 'mpg_mean' , is it calculating the mean of 'mpg' column? if then, why 'mpg_sum' doesn't work? I want to make my own vbar chart like this example. Code from bokeh.io import show, output_file from bokeh.models import ColumnDataSource, HoverTool from bokeh.plotting import figure from bokeh.palettes import

Multiple inputs multivariate data visualisation

守給你的承諾、 提交于 2019-12-02 19:01:40
问题 I am trying to visualise multivariate data model by reading them from multiple input files. I am looking for a simple solution to visualise multiple category data read from multiple input csv files. The no. Of rows in inputs range from 1 to 10000s in individual files. The format is same of all the inputs with 4 columns csv files. Input 1 tweetcricscore 34 51 high Input 2 tweetcricscore 23 46 low tweetcricscore 24 12 low tweetcricscore 456 46 low Input 3 tweetcricscore 653 1 medium

Sparklines in ggplot2

怎甘沉沦 提交于 2019-12-02 17:36:43
Tufte Sparklines (as illustrated in his Beautiful Evidence ) have been replicated in base graphics as part of YaleToolkit and further perfected as a result of this question . Sparklines have also been done in lattice as a part of my small side project Tufte in R (self-promotion not intended). My goal now is to replicate Tufte sparklines in ggplot2 . There are some scripts floating around on Gist and also as a reply to this question on SO , but none of those give a solid base for making replicable sets of sparklines. Now, I would like those multiple sparklines to look like this (it was done in