eazy-gnuplot
eazy-gnuplot copied to clipboard
Error "Skipping data file with no valid points" when plotting multiple graphs
Example number 13 from http://guicho271828.github.io/eazy-gnuplot/ does not work.
> (eazy-gnuplot:with-plots (stream :debug t)
(eazy-gnuplot:gp-setup :terminal '(:pngcairo) :output "some.png" :style
'(fill pattern 5))
(eazy-gnuplot:plot
(lambda ()
(loop for i from 0 upto 1 by 0.1
do (format stream "~&~a ~a ~a" i i (sin i))))
:using '(1 2 3) :lw (list 3 'notitle) :using '(1 2)
:lw (list 3 'notitle) :using '(1 3) :lw '(3 notitle) :with
'(:filledcurves :above :y1 = 0.07)))
" set terminal pngcairo
set output \"some.png\"
set style fill pattern 5
plot '-' using 1:2:3 lw 3 notitle, '' using 1:2 lw 3 notitle, '' using 1:3 lw 3 notitle with filledcurves above y1 = 0.07
0 0 0.0
0.1 0.1 0.09983342
0.2 0.2 0.19866933
0.3 0.3 0.29552022
0.4 0.4 0.38941833
0.5 0.5 0.47942555
0.6 0.6 0.5646425
0.70000005 0.70000005 0.6442177
0.8000001 0.8000001 0.71735615
0.9000001 0.9000001 0.783327
end
end
end
set output" line 13: warning: Skipping data file with no valid points
line 15: warning: Skipping data file with no valid points
NIL
Probably, this issue is related to https://github.com/guicho271828/eazy-gnuplot/issues/40
Seems I found the way how this should be done:
https://stackoverflow.com/questions/51740188/gnuplot-skipping-data-file-with-no-valid-points