|
From: Ethan M. <merritt@u.washington.edu> - 2008-01-03 17:23:50
|
On Thursday 03 January 2008 04:18, Petr Mikulik wrote: > There is a difference between gnuplot 4.2.2 and cvs; 4.2.2 works OK for log > cb axis, while cvs gives this error: > > "bug_logcb.gp", line 4: color axis has cb coord of -10; must be above 0 > for log scale! > > What has broken in cvs? But the error message is correct. The cb values go negative and therefore log scale cannot work. I see that 4.2 does draw something, but I don't understand what it is drawing. I'd say that 4.2 fails to detect the error, while CVS is doing the right thing by reporting it. > > Script: > > plot 'matrix.dat' matrix with image > > set log cb > replot > > File matrix.dat: > 2 4 6 8 > 1 2 3 4 > 0 1 2 3 > -2 -1 1 2 > -4 -3 -2 -1 > -6 -5 -4 -3 > > --- > PM -- Ethan A Merritt |