charts - Equivalent Matlab/Python GridData Function in C# -
both matlab , python have griddata function interpolates xyz points fit given data point coordinates. there c# equivalent of this?
if not there reference creating own function?
link scipy example:
https://docs.scipy.org/doc/scipy-0.14.0/reference/generated/scipy.interpolate.griddata.html
i want take arbitrary x,y,z triplets , plot them using oxyplot's contour or heatmap capabilities, having trouble getting data in correct format.
i ended using work around , called python script uses scipy's griddata function code:
string command = "griddatafunct.py "+ currpath + "\\temp.xyz"; processstartinfo cmdme = new processstartinfo(pythonexepath); cmdme.arguments = command; process cmd = process.start(cmdme); cmd.waitforexit();
Comments
Post a Comment