[clnuplot-devel] Error using exponential notation?

Olav Fossgaard ofossg at gmail.com
Wed Feb 11 18:15:05 UTC 2009


|There seems to be a bug plotting small numbers using exponential notation. For example:

(clnuplot:write-plot  
 (clnuplot:make-plot   
  :lines-points  
  '((1 0.10) (2 3.0E-5) (3 4.0E-5)) 
  :pointsize 2.0  
  :linewidth 3.0  
  :filename "simple-example"  
  :xlabel "foo"  
  :ylabel "bar"  
  :x-coord #'first  
  :y-coord #'second  
  :title "foobar"  
  :ymin 0.0)  
 :pdf) 

The plotted points are ((1 0.10) (2 3) (3 4)), and it seems the exponential parts are ignored.
However, if we increase the exponents a couple of orders of magnitude (replace E-5 with E-3), the points are plotted correctly.

Olav Fossgaard|





More information about the Clnuplot-devel mailing list