graph

United States State shapes for Office

I want to create visuals along the lines of CNN's "red-state, blue-state" shadings of the states in the U.S. for my project. I'm planning to do something fancier than just shading the state's shape in a color. Are there open source libraries of state shapes/polygons (or - if not open source - others) that I can import into Word, Excel, e...

Visualizing Undirected Graph That's Too Large for GraphViz?

Hi Everyone, I was wondering if anyone has any advice for rendering an undirected graph with 178,000 nodes and 500,000 edges. I've tried Neato, Tulip, and Cytoscape. Neato doesn't even come remotely close, and Tulip and Cytoscape claim they can handle it but don't seem to be able to. (Tulip does nothing and Cytoscape claims to be work...

Getting the value of a specific element from a different row in gnuplot

Using gnuplot 4.2, is it possible to obtain the value of a specific column/row and use that value somehow? For example, let's say my datafile contains the following #1 2 7 13 5 11 23 17 53 12 For a simple plot where column 1 is the x axis and column 2 is the y axis I would:- plot 'datafile' using 1:2 What I'm trying to do is to...

Visualization Tools for Huge Graphs

I would like to create a graph (set of vertices connected with edges) and I'm looking for tools or libraries that can help me. The graph is composed of at least 1000 nodes. Although it may be a little ambitious, I'd like to create one that has 60k nodes. Obviously the resulting graph is meant to be artistic more than functional. For ...

plot a 3 axis graph as a mesh

I have seen 3d surface plots of data before but i do not know what software i could use to make it. I have 3 series of data (X, Y, Z) basically i want each of the rows on the table to be a point in 3d space, all joined as a mesh. The data is currently csv, but i can change the format, as it is data i generated myself. Can anyone help ...

Graphing or charting in windows mobile 6

Do you know of a [free] library for graphing or charting, similar to Zedgraph, but that works for developing on windows mobile 6? ...

Fast element lookup for a functional language(Haskell)

Say we are traversing a graph and want to quickly determine if a node has been seen before or not. We have a few set preconditions. Nodes have been marked with integers values 1..N Graph is implemented with nodes having an adjacency list Every integer value from 1..N occurs in the graph, which is of size N Any ideas for doing this in...

What is a minimal path in a graph?

In graph theory, what is the distinction between minimal distance (which Dijkstra's algorithm finds), and minimal path (which I'm not sure what it is)? ...

Which run-time charting tools produce the best time axes?

I need to generate and embed a time series chart into an ASP.NET application. Most run-time charting tools generate poor time axes, especially if the time scale is dynamic ie the user may choose to view data over a time scale of days, weeks, months or years. I'm looking for recommended tools that can be integrated into my app. Two tha...

Is there any 'out-of-the-box' 2D/3D plotting library for C++?

Hello all, I looked at the different options for plotting functions (or other types of graphs) in an interactive window. I mostly use wxWidgets but I'd be open to any other "interfaces". Looking at what is available, here is what I've found: wxPlot: Not updated since 2006. But it would be a good candidate if it was... wxMathPlot: Ve...

Generating a picture/graphic of a graph

In working on a shortest path algorithm across a network I would like to generate a picture of the network. I'd like to represent nodes (circles), links (lines), cost to traverse the link (number in the middle of the link line), and capacity of the link (number on the link line next to the node it represents) in the picture. Is there any...

Generate distinctly different RGB colors in graphs

When generating graphs and showing different sets of data it usually a good idea to difference the sets by color. So one line is red and the next is green and so on. The problem is then that when the number of datasets is unknown one needs to randomly generate these colors and often they end up very close to each other (green, light gree...

Algorithm for merging sets that share at least 2 elements

Given a list of sets: S_1 : [ 1, 2, 3, 4 ] S_2 : [ 3, 4, 5, 6, 7 ] S_3 : [ 8, 9, 10, 11 ] S_4 : [ 1, 8, 12, 13 ] S_5 : [ 6, 7, 14, 15, 16, 17 ] What the most efficient way to merge all sets that share at least 2 elements? I suppose this is similar to a connected components problem. So the result would be: [ 1, 2, 3, 4, 5, 6, 7, 1...

Resources for graph structure ?

I have a problem related to graph. I am not a computer science grad hence needed a some quick intro on what is graph and were can i read about graph and how to solve graph related problem in c++ or in general. ...

How to model a Bayesian network or, more generally, a directed weighted graph, in SQL?

Hi, I found a few articles online providing examples of how to model graphs of various kinds (DAGs, in particular) in SQL, but they all seemed enormously complex, given the relative simplicity of what they're modeling. Is there a best / standard way of doing this? My current thinking is something like this: create table node ( id in...

How to generate running time graph for my Java program

Hi I want to generate running time graphs on my java program. Is there any program which makes it? ...

Where can I get a VB.net - WPF - Trending Graph Control.

We're trying to show 4 trend graphs and will be adding data to them them at a rate of about 1 point every second. In the end each trend needs to show around 600 points. Currently we are using the graphing tools from Syncfusion but they are unable to redraw the graphs at the speed we require. I believe the issue is due to the fact tha...

Choosing an attractive linear scale for a graph's Y Axis

I'm writing a bit of code to display a bar (or line) graph in our software. Everything's going fine. The thing that's got me stumped is labeling the Y axis. The caller can tell me how finely they want the Y scale labeled, but I seem to be stuck on exactly what to label them in an "attractive" kind of way. I can't describe "attractive...

How do you plot bar charts in gnuplot?

How do you plot bar charts in gnuplot with text labels? (Sorry - I'm answering my own question here - as it suggest in the first entry of the faq) ...

How do I update the contents of a placeholder with a generated image in Rails?

I have a div tag in the view that I'd like to update with a graph that I generate via Gruff. I have the following controller action which does this at the end send_data g.to_blob, :disposition=>'inline', :type=>'image/png', :filename=>'top_n.pdf' Now if I directly invoke this action, I can see the graph. (More details here if reqd.) ...