问题
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.
回答1:
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.
回答2:
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.
来源:https://stackoverflow.com/questions/3180401/net-open-source-contour-plotting