graphing

Cocoa: create graphs

Is there a framework out there that will allow me to create simple bar and line graphs? ...

Graphing new users by date in a Rails app using Seer

I'd like to implement a rolling graph showing new users by day over the last 7 days using Seer. I've got Seer installed: http://www.idolhands.com/ruby-on-rails/gems-plugins-and-engines/graphing-for-ruby-on-rails-with-seer I'm struggling to get my brain around how to implement. I've got an array of the Users I want to plot: @users = ...

Techniques and algorithms for precise and efficient graph plotting

I'd like to plot mathematical functions and I'm looking for techniques and algorithms for precise and efficient plotting. 2D plotting should suffice. I focus on techniques and algorithms, not libraries or languages. Thanks in advance! ...

Find coordinate by angle

I am developing in application in XNA which draws random paths. Unfortunately, I'm out of touch with graphing, so I'm a bit stuck. My application needs to do the following: Pick a random angle from my origin (0,0), which is simple. Draw a circle in relation to that origin, 16px away (or any distance I specify), at the angle found abo...

Setting `axes.linewidth` without changing the `rcParams` global dict

So, it seems one cannot do the following (it raises an error, since axes does not have a set_linewidth method): axes_style = {'linewidth':5} axes_rect = [0.1, 0.1, 0.9, 0.9] axes(axes_rect, **axes_style) and has to use the following old trick instead: rcParams['axes.linewidth'] = 5 # set the value globally ... # some code rcdefaul...

Putting newline in matplotlib label with TeX in Python?

How can I add a newline to a plot's label (e.g. xlabel or ylabel) in Matplotlib? For example, plt.bar([1, 2], [4, 5]) plt.xlabel("My x label") plt.ylabel(r"My long label with $\Sigma_{C}$ math \n continues here") Ideally i'd like the y-labeled to be centered too. Is there a way to do this? It's important that the label have both t...

JFreeChart CategoryPlot overwrites categories

Hi, I am new to using JFreeChart and I'm sure there is a simple solution to my problem . . PROBLEM: I have a chart that shows multiple "events types" along the date X axis. The Y axis shows the "event category". My problem is that only the latest date of an event type is shown for each category. In the example below The chart shows da...

problem plotting on logscale in matplotlib in python

I am trying to plot the following numbers on a log scale as a scatter plot in matplotlib. Both the quantities on the x and y axes have very different scales, and one of the variables has a huge dynamic range (nearly 0 to 12 million roughly) while the other is between nearly 0 and 2. I think it might be good to plot both on a log scale....

Creating Graphs on an iPad/iPhone

I was wondering if anyone knew of a simple way to implement graphing in an iPhone/iPad application. I've spent quite a bit of time googling and can't seem to find any sort of a solution. Maybe I'm just searching with the wrong terms since a lot of consumers are asking about "graphing" in terms of using their applications, not developin...

Good Silverlight 4.0 chart / graph component?

I've been using the Silverlight Toolkit but I'm finding the quality lacking; in particular this memory leak / phantom point bug renders the Chart component completely unusable. Can anyone recommend a good chart / graph component for Silverlight 4.0? I'm looking for one that provides: multiple simultaneous series, both scatter and lin...

What is a good Javascript graphing library to use with GWT application?

Do you have any suggestions of graphing libraries to use with a GWT project? I need to graph a set of data points and several lines. Also some shading of the area under a line. I am open to suggestions of straight Javascript libraries or Java that I can just use with GWT. ...

Is there a C++ graphing library?

Is there a C++ graphing library that can display visual graphs (such as hyperbolas and parabolas and linear equations) based on the equation it is given and that is cross platform? Or am I just asking for too much... ...

grouped bar graph

I have the following data: bin groupname total_dist 0 rowA 377 0 rowA 306.6 0 rowB 2.1 0 rowB 110.6 1 rowA 918.1 1 rowA 463.2 1 rowB 798.2 1 rowB 1196 2 rowA 1295.1 2 rowA 1269.1 2 rowB 698 2 rowB 1022.1 Using R, I want to make a bar graph where there is a bar for rowA and ...

Graphing statistics over time in Ruby

In my Rails application there are some metrics about the content of the database I made available in an administration interface (number of users, number of users with actual data, rate of usage, numbers of database records in various tables). I can get this information at any point in time, but I want to log and graph historical data so...

GPL-compatable graphing library for Android

In a similar approach to this question, I am looking for a way to plot data points on to a view in Android. Preferably, a library which will do this for arbitrary-ranged input, as well as allow panning and zooming (via pinch or zoom bar). Right now, I have subclass-ed a view which does the following normalization: for(int i = 0; i < da...

Color specifiy area of background of graph depending on condition

Hi, I have a bargraph (2D) and I want to make the background red for parts where another vector has a value > 1 i.e. example: graph = [2 3 5 4 9 1 7] color = [0 2 2 1 0 1 2] so the barplot will show usual bars and the background behind (including the space between the bars) is colored red behind the bars of "3","5" and "7" (positio...

PEAR Image_Graph Doesn't Graph Correctly When There is Only One Datapoint

I'm using a PHP graphing library from PEAR called Image_Graph to graph points of data in represented by bars. The graphs look fine when there's more than one datapoint, but when there's only one data point it looks like this: http://img594.imageshack.us/img594/2944/screenshot20100715at528s.png Has anyone else experienced this problem w...

What the hell happened to TI? And what are the alternatives?

When I was in the sixth grade, my parents purchased for me a TI-86 graphing calculator. I recall that it was purchased on the same day that "Titanic" on DVD went on sale in the United States. In the years that followed I learned that although the device is advertised as a graphing calculator, it really is a pocket-sized portable compute...

Comparing a user generated line graph to one randomly generated by a program

The program will show the student a line graph. The student will have to recreate that line graph by moving a character away from or toward a motion detector using the arrow keys, creating a distance-time plot. I can capture the data points that the program generates when drawing its graph. I can also capture the data points gnerated by ...

Mapping Pixels to Data

I've written some basic graphing software in Clojure/Java using drawLine() on the graphics context of a modified JPanel. The plotting itself is working nicely, but I've come to an impasse while trying to converting a clicked pixel to the nearest data point. I have a simple bijection between the list of all pixels that mark end points ...