> <script>
> open data4-1
> scalar x = max(price)
> string foo
> sprintf foo "%g", x
> gnuplot price sqft {set yrange[0:@foo];} --output=display
> </script>
2011/6/29 Hélio Guilherme <helioxentric(a)gmail.com>:
Tested these commands, and the plot works OK, but gretl complaints
about it.
Appears a warning dialog box that the gnuplot command has failed ("Failed to
parse gnuplot file").
To make the file parseable for the gretl GUI, insert a space after "yrange":
gnuplot price sqft {set yrange [0:@foo];} --output=display
Allin