From: Richard L. <la...@un...> - 2013-12-08 13:49:41
|
I have a file of x,y real data pairs with the values to 9 digits of precision. When I use gnuplot to plot the data directly using, say: plot 'HHAT3260.csv' using 2:1 I get a detailed plot with the values at their original precision. However, when I use gnuplot within Python (having read in the file to float lists x and y) using: g = Gnuplot.Gnuplot(debug=1) d = Gnuplot.Data(x, y, with_='points') g.plot(d) I get a plot with plotted values rounded or truncated to 7 digits of precision, it seems. Is there a way to preserve the precision of the data when using py-gnuplot? -- Richard Langley ----------------------------------------------------------------------------- | Richard B. Langley E-mail: la...@un... | | Geodetic Research Laboratory Web: http://gge.unb.ca | | Dept. of Geodesy and Geomatics Engineering Phone: +1 506 453-5142 | | University of New Brunswick Fax: +1 506 453-4943 | | Fredericton, N.B., Canada E3B 5A3 | | Fredericton? Where's that? See: http://www.fredericton.ca/ | ----------------------------------------------------------------------------- |