graph

How do I set the upper and lower bounds of a dynamic graph?

Say I want to display a graph of today's stock market. I gather all my data, and I go to display the graph...is there a well known formula to set the upper and lower bounds to? Do I need to factor in all the data on the stock market from the last year to get some context? In some ways this is a design/math question, but essentially, I ...

Names of Graph Traversal Algorithms

What I'm looking for is a comprehensive list of graph traversal algorithms, with brief descriptions of their purpose, as a jump off point for researching them. So far I'm aware of: Dijkstra's - single-source shortest path Kruskal's - finds a minimum spanning tree What are some other well-known ones? Please provide a brief description...

Drawing the slices of a 3D pie chart in the right order

I'm trying to fix up an old application: I have a function that takes a pair of angles and draws a 3d slice of an exploded pie chart. I also have functions that take a collection of numbers, generate the angles and call the slice drawing function repeatedly until the entire pie is drawn. Repeated calls to the slice drawing function draw...

How to change EXCEL 2007 Chart Series Foreground Color for a xlCylinderBarStacked

I can get it to change for a line chart but cannot figure out how to do it for BAR graphs ...

Sparse Multidimensional Array or Matrix Libraries in .NET

Hi, I have a need for a sparse matrix in up to 4 dimensions in a .NET application. The size of the matrix (if represented as a .NET Array) would potentially top 400MB. The array is likely to be very sparse, and I need to be able to instantiate and dispose it very quickly (although that's not a no go). I'm therefore after a sparse array...

Efficient way to practice graph theory algorithms

I just read about the breadth-first search algorithm in the Introduction to Algorithms book and I hand simulated the algorithm on paper. What I would like to do now is to implement it in code for extra practice. I was thinking about implementing all the data structures from scratch (the adjacency list, the "color", "distance", and "par...

making graphs with xCode

Hi I need to graph some arrays to analyse signals, I have a cocoa project going. Can anyone tell me where I can find tools to simplify this task? Basically i want to display my arrays like on a graphing calculator. ...

How do I filter data without losing shape?

Is there a filtering algorithm that converges at some shape? My problem is that I am filtering a two dimensional graph, and applying filtering repeatedly. I'm down-sampling data and re-sampling it using gaussian filters (footprints), but the graph changes its shape with every subsequent filtering. What I need is to achieve some final sha...

Financial Charts / Graphs in Ruby or Python

What are my best options for creating a financial open-high-low-close (OHLC) chart in a high level language like Ruby or Python? While there seem to be a lot of options for graphing, I haven't seen any gems or eggs with this kind of chart. http://en.wikipedia.org/wiki/Open-high-low-close_chart (but I don't need the moving average or Bol...

Line functions in R

Hi, I was wondering if it was possible to graph three lines in R using fuctions. For instance, how could I get the functions: 3x+1 4x+2 x+1 to show up on the same graph in r? Thanks so much! ...

Comprehensive graphing and charting solutions...?

Hi All, I have need to produce LINE, BAR, and PIE charts in Rails. I have found several that do all these. However the one caveat is that I can never find a solution that does all as well as XY-SCATTER. I've looked at Gruff,Scruffy,Gnuplot, etc. and none of them do "everything". Can anyone recommend a local (i.e. doesn't require net...

Controlling Layout of Graphviz Graphs

I have a number of relatively simple (auto-generated) graphs in graphviz dot format. These show the path through a state machine, but dot has a slightly confusing habit of deciding that two nodes must be on the same rank when I would like the graph to be in state order. I've tried a lot of settings (including the :n and :s and the weig...

jQuery - use canvas to draw lines between divs

I have n <div>s, each with <h1> title and <ul> list of items in. I would like to float these over a canvas and draw lines from <div id="x"> list item y to <div id="z">. I am using jQuery UI to make the <div>s draggable. The canvas element is part way down the page (a paragraph of text and some form elements precede it) but I can change...

How can I compare frequencies and intercept event dates in Excel?

I need a way to look at one type of event as a basis, and then graph how several other events interact with the base event. Example: data set of events has occurred for a group of locations (1000+ locations): event 1 occurs ~every 4 weeks over course of 6 months event 2 occurs ~2 weeks over course of 6 months event 3 occurs randomly, no...

Simple orthogonal graph edge routing algorithm

Many graphing applications use orthogonal edge routing for "objects" on a canvas. I am aware of the brilliant collection of algorithms found in the open source project titled QuickGraph (http://quickgraph.codeplex.com/) but the layout is left to actual layout renderers (such as GraphViz (http://www.graphviz.org) and MSAGL (found on Mic...

How can I set the number of ticks with Image_Graph?

I am using Image_Graph (maintained at pear.veggerby.dk)to generate some graphs. I've been trying to use the methods described on this page http://pear.php.net/reference/Image_Graph-0.2.1/Image_Graph/Image_Graph_Axis.html to manipulate ticks but none of them seem to even exist in the 0.7.2 install. Anyone else having this problem? ...

Dynamic Graph Generator

I need to plot points of a line graph dynamically..(same like an oscilloscope in ecg).. can someone please suggest some tool that contains such a feature!!.. ...

Data analysis tool like MS excel ...

Hi all I have a large number of data that needs to be compared, We are using Microsoft EXCEL, it costs, and it is slow, besides the graph that it generates is also not up to the mark. Now, is their any other tool, that is free, and has good graph's facility. Thank you. ...

How to plot implicit equations

Hello. What is the usual method or algorithm used to plot implicit equations of 2 variables? I am talking about equations such as, sin(x*y)*y = 20 x*x - y*y = 1 Etc. Does anyone know how Maple or Matlab do this? My target language is C#. Many thanks! ...

References on creating Charts/Graphs in PHP ?

Hello Can anyone suggest a book or a tutorial on creating Charts in PHP extracting the data from MySQL Database. It should not involve Flash in any way. I dont want to use any pre-built charting solutions. ...