graph

How do you change the size of figures drawn with matplotlib?

How do you change the size of figure drawn with matplotlib? ...

JSP: Creating Graph

I need to create some graphical representations of the usage of electricity by month. How do I go with it? What would be the simplest way? Languages: Java, JSP Thank you very much. ...

PlotChart/LineChart vertical linear gradient on the line series

I want to build a LineChart component where the color of the line is indicative on how high the value is. I should be able to do this buy just using a gradient stroke (see below) but for some reason the gradient only goes from left to right and the "angle" property is being ignored. How could i do this? <mx:PlotChart id="bpChart" wi...

coding connected nodes in graph

hi guys, I am trying to make a graph in java that would have different nodes. some nodes would be connected to others and some wont. If they are connected then some boolean value for that node will be true and another variable will hold the value of the node it is connected to. ...any suggestions on what you guys think is the best wa...

adjacency matrix in java or c++ to find connected nodes

Hi I am given a problem where I have been given N nodes in a graph that are interconnected to each other then given a matrix which lists down a node being connected to another (1 if it is, 0 if not). I am wondering how to best approach this problem. I think these are adjacency matrix? But how would I implement that ... Basically what...

Algorithm for "nice" grid line intervals on a graph

I need a reasonably smart algorithm to come up with "nice" grid lines for a graph (chart). For example, assume a bar chart with values of 10, 30, 72 and 60. You know: Min value: 10 Max value: 72 Range: 62 The first question is: what do you start from? In this case, 0 would be the intuitive value but this won't hold up on other data ...

Paths in undirected graphs

We are given an undirected graph G = (V, E) and two vertices s, t ∈ V . We consider simple paths between s and t. A path is simple if every vertex is visited at most once. Are the following in P or NP-complete? Does an efficient algorithm polynomial time exist for the following? "n" represents the number of vertices in the graph "V" ...

Simple to use, non-invasive JavaScript Call Stack Visualiser?

Can anyone recommend a graphical call stack visualiser for JavaScript, that I can install on a Linux box (or is OS neutral)? Preferably one that doesn't involve having to modify the JavaScript being profiled. I'm after something similar to the graphs produced by valgrind/kcachegrind but for JavaScript. Edit: A couple of people have sug...

Graphs/Charts in PHP

I'm trying to find a good Graph drawing library for my PHP application. Currently I am limited to viewing the data in a table which while specific, is a bit ugly. I require a non-flash system if possible. ...

Saving graphs in Haskell

I can easily define a datatype for a node of a directed graph. data Node = Node String [Node] derving (Show, Read) I can save the graph to a file using show function, then restore it using read. However, show will not cope with a cycle. Is there a trivial way to save and restore a graph? ...

How to create a simple line graph in VB.NET for a website

Hello, Has anyone got any suggestions on how I can create a very simple graph for a web application? It is to show energy consumption levels per month for a year at a time. So basically I want it to look like (assuming my ASCII works) -- \ -- Yeah it doesn't so I've changed my open id image to the sample http://mrbrutal.myo...

How to draw a SURF graph without black edges in Matlab?

The black lines are awfull, how I get rid of them? I want only the colored surfaces. ...

is there a client side (javascript) graph library that doesn't require a server?

I need to generate many internal client-side (within the company only) graphs from streams of data, and since the data itself is "secret", I can't use a service like Google-Graphs for generating the graphs. So I was wondering if anyone has some recomendations for a javascript graph library that doesn't require a server. Thanks ...

Python data structure: SQL, XML, or .py file

What is the best way to store large amounts of data in python, given one (or two) 500,000 item+ dictionary used for undirected graph searching? I've been considering a few options such as storing the data as XML: <key name="a"> <value data="1" /> <value data="2" /> </key> <key name="b"> ... or in a python file for direct acce...

Does anyone know a good network/graph visualization software - just add data?

I want to plot social network visualization, but don't want to do much of programming. Does anyone know a piece of software that can do plotting, zooming in out but does not require much of programming? Say, i could provide my data in format it accepts and bah - i have a java application, flash or anything displaying my graph. ...

Finding closed contours in a graph

Hi, I have graph and somehow I need to find all closed contours in graph that doesn't contains any other edges of the graph. I was searching google but only gives me charts :) Is there any library or if you know name of such algorithm. thx ...

What is a good Graph Editor for MacOS?

I need some sort of node-graph editor, that hopefully works on both Mac and other platforms, to generate user created node collections with properties. The graph data will then be used in a data-driven application I'm working on, so kudos if the application can save the graphs in some easy to process format. So far I was using XML with a...

'Head First' Style Data Structures & Algorithms Book?

I loved the Head First series book on object oriented design. It was a very gentle and funny introduction to the subject. I am currently taking a data structures class and find the text we are using (Kruse/Ryba Data Structures and Program Design in C++) to be very dry and hard to comprehend. This is mostly due I think to my own limita...

What graphing packages/APIs exist for Ruby?

Similar: What graphing packages/APIs exist for Perl? I'm doing some research into online graphing packages for different languages and would like to know what current, up-to-date graphing packages there are for Ruby which are worth investigating. Minimum desired capabilities should include the kind which Google offers through its API. ...

Jfreechart selection

Is there a way to be able to click on a segment on a plot and have jfreechart tell me the x/y coordinates of that point or somehow return the corresponding data associated with that line? Does jfreechart have any packages at all for interacting with the plot? ...