Implementing graph in iPhone - iphone

I have an application that captures analog signal data from external sensor which is sent into database. I have to use the data from the database to plot graph. And I don't know how to do it. Can anyone guide me in this?

The best graphing library that I like to use is coreplot.

Unless you want to write your own graphing tool, you will have to resort to 3rd party tools. Core Plot is a popular one.
Check out 'core-plot'

CorePlot is one of the charting library.
Other if you want to refer are as follows:
Some of the alternatives that I found were:
http://code.google.com/p/s7graphview/
http://sebkade.wordpress.com/2010/05/06/basic-graph-class-for-iphone/
http://www.rgraph.net/
http://www.ivisualization.com/
http://www.vvi.com/apps/vvidget
http://github.com/duivesteyn-enterprises/deSimpleChart.
I hope this helps someone who is looking for alternatives to Core Plot.

Related

How to use Math.NET Neodym Signal Processing Library to Filter Frequencies?

I have streaming continuous data that I need to filter by frequency. I have high-level knowledge of FFT and frequency filtering, but no real practical knowledge.
After searching for a suitable library to aid me, I came across Math.NET's Neodym Signal Processing Library (https://mathnetneodym.codeplex.com/releases/view/91769)
I downloaded it, upgraded it to VS2010 and used the SignalGenerator class to generate various sine wave of various frequencies. It worked great.
Now, I need to know how to filter dynamic data. This StackOverflow question seems to come the closest to mine, and is a good start:
Filtering continuous data, how to get rid of transients?
There is a .chm file in the downloaded project, but it seems to just be the API documentation. I need some high-level help just pointing me in the right direction to use the library.
Can anybody provide a good resource to refer to so I can use this library for my purpose?
Thank you!
John
UPDATE
I'm pretty sure I use the OnlineFilter.CreateBandpass static function with the mode ImpulseResponse.Infinite... but I'll post whatever I find out.

Nice Core-Plot implementations OSX

I am using Core Plot for a little App I am programming at the moment and I was wondering if there are any good looking examples or resources. With good looking I don't mean the google docs Example App ;)
Core Plot includes a number of example apps that demonstrate various features. There is also wiki page on the Core Plot site with links to many apps that use it.
I am not sure that what are you looking for as you have not cleared your question. But i am telling you this link: http://www.johnwordsworth.com/2011/10/adding-charts-to-your-iphone-ipad-app-using-core-plot/ which certainly will help you.

iOS Line Graphing?

What would be the easiest way to graph a line graph on a iOS app? I am building a iOS app that needs a line graph I don't need anything complex just something that will graph a int.
I have seen core graph but not sure if thats the way to go.
You're probably thinking of core-plot, which would be a fine solution if you want something that has a lot of features and is ready out of the box.
If you want something more minimal, you could create your own line graph UIView subclass very easily and make it do exactly what you want. Building a general-purpose graph library is a lot of work because there are so many ways that people like to vary their graphs. If you know exactly what you want and don't need something more flexible, rolling your own can be a quick and effective solution.
If you do decide to roll your own, Matt Gallagher's Cocoa With Love blog has a number of very good graphics entries to get you started.
Apple's Accelerometer sample app (on their iOS Developer Center web site) includes some example code for a simple line graph.
Nuclios http://www.infragistics.com/products/ios/ is a pre-built library that has a bunch of graphing styles. It's not free but I don't think the license fee is outrageous either ~$250
You could take a look at BEMSimpleLineGraph.
It's modeled after UITableView and offers a wide range of features.

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 developing them, the search-space is rather polluted.
It seems like a lot of iPad/iPhone applications have embedded graphs... and I can't imagine that every developer has invented their own graphing engine from the ground up. Or, maybe they have... Does anyone have any suggestions?
Core Plot is one popular option.
I have herd wonders about core plot but for myself i wrote a graph View Class which creates a standard graph.
Have a look
http://sebkade.wordpress.com/2010/05/06/basic-graph-class-for-iphone/
hope it helps
From my experience graphs are best done through UIWebView's and then written in HTML/JavaScript - there are many great html/javascript libraries for graphings. Personally, I like
http://www.highcharts.com
but these exist as well.
http://www.sencha.com/products/touch/charts
https://developers.google.com/chart/
http://www.zingchart.com/#welcome

are there any good statistic visualization libraries for the iphone?

I wonder if every developer would have to code statistic visualization by him/herself, or if there's a lib already that can be used to draw charts, curves, stats, etc. (like in the stock app for example)?
Take a look at this graphing package, it will also compile on the iPhone:
http://www.mpkju.fr/~graphview/page1/page1.html
Note that I've not used it yet, I ran across it before and made a note of the potential usefulness of it.
You might use the Google Charts API, and just use the images that come back from that:
http://code.google.com/apis/chart/
For instance, you can retrieve the bytes from this URL
http://chart.apis.google.com/chart?cht=p3&chd=t:60,40&chs=250x100&chl=Hello|World
and insert them into an NSImage, or just let the web view do the rendering for you.
Core Plot is a cross-platform (Mac / iPhone) plotting framework being developed by a group of scientifically-minded Cocoa developers. It is based on Core Animation, and was advancing quite quickly the last time I checked in. You might want to read the mailing list archives to get an idea of the design goals and current state of the framework.