tags:

views:

53

answers:

2

Some good controls and examples to chart functions

I am looking for some examples of plotting functions with some code and seeing that on a chart

so If I had a function like

y=x^2+2

I want to see that plotted from say 0 to some really high number.

C# (WPF in VS 2010 maybe) would be ideal or if their is some other library that works well for this that is fine.

A: 

NPlot will do it and it is free. I have found the initial learning curve is a little steep compared to other options (although it is more powerful too).
http://netcontrols.org/nplot/wiki/

This one might be promising as well - not sure what they use internally but you could find out fairly quickly.
http://windowsclient.net/downloads/folders/wpfsamples/entry5094.aspx

http://graphingcalculator.codeplex.com/

ktharsis
Looks interesting. Do you have a line plot example. I did not see one (documentation for this thing appears to need some work, and has spam in the wiki)
Maestro1024
A: 

Visifire on codeplex is pretty good and is GPL2 licensed, if you want to use WPF. To Evaluate expressions you might need to an Expression evaluation library like Flee (licensed LGPL) along with the charting one.

Bhuvan