Page 1 of 1

Problem Importing 3D Surface Data

Posted: Tue Dec 14, 2010 7:44 pm
by swetdwiw
I am importing a 3D *.csv file (X,Y,Z) that has approximately 70000 data triplets. DPLOT is importing only about 500 values. I import the file into EXCEL and get all the data (up to the 64000 line limit in EXCEL). What is wrong?

swetdwiw

Posted: Tue Dec 14, 2010 9:30 pm
by jsc
Can you look at the file in a text editor and see if there is a "glitch" in the data at your 500 point line? It might be something that Excel can handle, but with which DPlot has some trouble.

(Use something besides Notepad that lets you see if there are any control characters that were added by the program you got your data from.)

Posted: Tue Dec 14, 2010 10:32 pm
by DPlotAdmin
It isn't a surprise that Excel will import the file, since it will take anything, numeric or not. Most likely there is a problem after the "about 500" points: two decimal points, a letter O for a 0, etc.

RE: Problem Importing 3D Surface Data

Posted: Wed Dec 15, 2010 9:25 am
by swetdwiw
Yes, in calculating the surface gradient with FORTRAN I had some data points with coincident X-coordinate that generated +inf for the X-Gradient data file. Thanks.

By the way, is there a feature to allow a surface contour plot with a superimpoed curve at the intersection with a plane?

Posted: Wed Dec 15, 2010 9:47 am
by DPlotAdmin
By the way, is there a feature to allow a surface contour plot with a superimpoed curve at the intersection with a plane?
Yes, but it isn't yet perfect. See:
http://www.dplot.com/blog/2009/07/plot-overlays.html