data-visualization

choosing a diagramming library for .Net [closed]

拟墨画扇 提交于 2019-12-18 13:22:31
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 6 years ago . I have a customer who needs to convert a diagramming application (which was developed in MFC a long time ago) to C#. The application displays large networks (lots of graphical elements), and lets the user edit/manipulate the data through a graphical ui. I decided that it would be best to use a library rather

ggplot2 multiple stat_binhex() plots with different color gradients in one image

荒凉一梦 提交于 2019-12-18 12:26:27
问题 I'd like to use ggplot2's stat_binhex() to simultaneously plot two independent variables on the same chart, each with its own color gradient using scale_colour_gradientn(). If we disregard the fact that the x-axis units do not match, a reproducible example would be to plot the following in the same image while maintaining separate fill gradients. d <- ggplot(diamonds, aes(x=carat,y=price))+ stat_binhex(colour="white",na.rm=TRUE)+ scale_fill_gradientn(colours=c("white","blue"),name =

geom_bar() + pictograms, how to?

亡梦爱人 提交于 2019-12-18 11:28:41
问题 (See bottom of post for updates) Initial post, 2014-07-29 11:43:38Z I saw this graphics on the Economist's website and wondered if it's possible to produce a geom_bar() with this kinda illustrative icons imbedded? (dummy data below) Dummy data, require(ggplot2) # Generate data df3 <- data.frame(units = c(1.3, 1.8, 2.7, 4.2, 4.7, 6.7, 20), what = c('Wikipedia', 'London Olympic Park', 'Aircraft carrier', 'The Great Pyramid', 'Stonehenge', 'Burj Khalifas', 'Empire State Building')) # make gs an

geom_bar() + pictograms, how to?

半城伤御伤魂 提交于 2019-12-18 11:28:08
问题 (See bottom of post for updates) Initial post, 2014-07-29 11:43:38Z I saw this graphics on the Economist's website and wondered if it's possible to produce a geom_bar() with this kinda illustrative icons imbedded? (dummy data below) Dummy data, require(ggplot2) # Generate data df3 <- data.frame(units = c(1.3, 1.8, 2.7, 4.2, 4.7, 6.7, 20), what = c('Wikipedia', 'London Olympic Park', 'Aircraft carrier', 'The Great Pyramid', 'Stonehenge', 'Burj Khalifas', 'Empire State Building')) # make gs an

Treemap visualization in Python [closed]

烂漫一生 提交于 2019-12-18 11:06:44
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 2 years ago . I'm interested in drawing a treemap: What is the easiest way to make one in Python? Is there a library that could produce such a graphic, given the proper input data? 回答1: The SciPy cookbook includes an example using matplotlib, but without labels. IA link: https://web.archive.org/web/20150324163314/http://wiki

Alternate control of a sliderInput between a derived value and user selected value

↘锁芯ラ 提交于 2019-12-18 09:45:51
问题 I have a very simple Shiny app, wherein I have a set of data on past customers, and a set of data on 3 new customers. All my data consists only of 2 variables: age and score. The purpose is to select one of the 3 new customers, and see how the past customers of similar ages scored. We do this with a simple scatterplot. For example, since new customer #1 is 30 years old, we get to see how all the past customers of ages 25 - 35 scored: (my apologies for the small image) Everything works fine.

Matplotlib scatter plot - Remove white padding

情到浓时终转凉″ 提交于 2019-12-18 05:16:12
问题 I'm working with matplotlib to plot a variable in latitude longitude coordinates. The problem is that this image cannot include axes or borders. I have been able to remove axis, but the white padding around my image has to be completely removed (see example images from code below here: http://imgur.com/a/W0vy9) . I have tried several methods from Google searches, including these StackOverflow methodologies: Remove padding from matplotlib plotting How to remove padding/border in a matplotlib

MS Chart with ASP.NET chart type “column” not showing axis x label if there are more than 9 bar in the chart

六眼飞鱼酱① 提交于 2019-12-18 03:21:25
问题 I have a problem with an MS Chart chart type column. If there are more than 9 bars in the chart, the axis-x labels won't show up properly, some of them just disappear. Here's my mark-up for the chart: <asp:Chart ID="chtNBAChampionships" runat="server"> <Series> <asp:Series Name="Championships" YValueType="Int32" Palette="Berry" ChartType="Column" ChartArea="MainChartArea" IsValueShownAsLabel="true"> <Points> <asp:DataPoint AxisLabel="Celtics" YValues="17" /> <asp:DataPoint AxisLabel="Lakers"

Visualizing Weka classification tree

做~自己de王妃 提交于 2019-12-17 22:38:26
问题 This question was migrated from Cross Validated because it can be answered on Stack Overflow. Migrated 7 years ago . I am using few data sets available online and trying to visualize tree. However, it does not let me visualize tree option at all. Could anyone please guide me how to get the tree diagram in weka by using data sets available online? 回答1: Look here http://maya.cs.depaul.edu/classes/ect584/weka/classify.html, for example. First you have to fit your decision tree (I used the J48

Substitute node labels with emoji using networkX in Python

て烟熏妆下的殇ゞ 提交于 2019-12-17 21:08:58
问题 I am using networkX to draw a network plot from a distance matrix(emoji_sim, a DataFrame). Here is the code: G = nx.from_numpy_matrix(np.array(emoji_sim)) nx.draw(G, edge_color='silver', node_color='lightsalmon', with_labels=True) plt.show() I know there is a way to relabel the nodes as: G = nx.relabel_nodes(G, dict(zip(range(len(G.nodes())), range(1, len(G.nodes())+1)))) But I want to substitute the nodes label with images(possibly read from files or using Python Emoji package). Is there any