Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

.NET Open Source Contour Plotting

I am looking for an Open Source .NET Library (or wrapper to a library) that will create contour plots from a set of values along a grid/mesh. ZedGraph is the closest thing I could find (http://zedgraph.org/).

It would also be great if it could export to EPS.

like image 616
ccook Avatar asked Sep 05 '25 05:09

ccook


2 Answers

With D3 you can plot contour lines (isolines) for WPF. I am not sure about contour surfaces. WPF has great printing capabilities so I think that printing to EPS would not be a problem.

Edit: recently found this one WinForms example around a .dll which calculates isolines.

like image 123
Mikhail Poda Avatar answered Sep 07 '25 21:09

Mikhail Poda


The contour extraction routine ConRec worked very well (fast and efficient) for me:

http://paulbourke.net/papers/conrec/

It doesn't output contours but a collection of line segments and associated z-values. You can use this raw data to construct contour polygon if required.

like image 30
ProfNimrod Avatar answered Sep 07 '25 21:09

ProfNimrod