From: Johannes R. <jo...@si...> - 2008-09-09 10:12:19
|
Hi again, By looking at the temporary files that Gnuplot.py generates, I finally found out why I keep getting this warning. It is caused by the fact that there is two newline characters at the end of these temporary files. I removed one of the newlines and the warning was gone. To do this, simply comment out the last line in the function write_array in utils.py: - f.write(nest_suffix) + #f.write(nest_suffix) Hopefully, this will be fixed in the next release of Gnuploy.py. Johannes On Mon, September 1, 2008 10:53, Johannes Ring wrote: > Hi, > > when I run the test.py script the following warning appears several times: > > Notice: Cannot contour non grid data. Please use "set dgrid3d". > > Is there a way to get rid of this message? I am using the latest sources > from the SVN repository. > > If anyone can help me out, or point me to where to look in the code, I > would be very happy. > > Thanks, > Johannes > > $ python test.py > ... > gnuplot> set parametric > gnuplot> set data style lines > gnuplot> set hidden > gnuplot> set contour base > gnuplot> set xlabel "x" > gnuplot> set ylabel "y" > Notice: Cannot contour non grid data. Please use "set dgrid3d". > gnuplot> splot "/tmp/tmpKGm5yj.gnuplot/fifo" notitle > Same thing, saved to a file > Press return to show results... > > Notice: Cannot contour non grid data. Please use "set dgrid3d". > gnuplot> splot "/tmp/tmp9ReqTN" > Same thing, inline data > Press return to show results... > > gnuplot> splot "-" notitle > The same thing using binary mode > Press return to show results... > Notice: Cannot contour non grid data. Please use "set dgrid3d". > > ... > > > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the > world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Gnuplot-py-users mailing list > Gnu...@li... > https://lists.sourceforge.net/lists/listinfo/gnuplot-py-users > |