Am 04.10.2016 um 20:37 schrieb Allin Cottrell:
This is a consolidated response to some points made lately by Sven
about
various aspects of graphing/plotting in gretl.
1) There's now a "bars" mode for the --band-style option to
"gnuplot'
and "plot":
2) Up till now, the GUI "savename" apparatus for graphs, as
in
...
both save the plot as a named icon and display it in a window
Thanks!
3) This is a bit more technical. In
http://lists.wfu.edu/pipermail/gretl-devel/2016-October/006960.html Sven
suggests that we move to require gnuplot 5 for gretl (our current
minimum supported gnuplot version is 4.6.0). His reasoning is, "I would
like to see gretl handing the data over to gnuplot in the
'multiple-columns-side-by-side' format that gnuplot 5 apparently adopted
following Allin's suggestion. It would then be much easier to tweak the
appearance of plots beyond the subset functionality that is directly
supported by gretl."
There are various good reasons for requiring gnuplot 5 but I'm not sure
this is one of them.
OK, actually there's a longer explanation, and part of it may be my
gnuplot ignorance. Right now when you do something like "plot '-'" in
the gnuplot commands, gnuplot takes the next chunk of inline data and
there's no way of "stepping back" to the previous chunk in the next
gnuplot plot command, AFAIK. So it's impossible to give some extra
literal gnuplot plot commands within gretl's plot...end plot block
without messing up everything.
I was thinking that with the new inline data format, the gnuplot plot
commands have to reference the inline data by a column index anyway, so
there would be no "moving forward/stepping back" between different
inline chunks. Then you could add manual/literal extra gnuplot stuff
more easily.
then referenced by "plot". This means the data block must
precede
"plot". No big deal, I suppose, if the data are few, but with a dense
plot you might have to scroll down through hundreds of lines of data to
get to the "plot" clauses (e.g. when editing the plot commands in a
gretl window). It seems to me this would be more awkward.
OK, I see the point. I don't quite understand why the new inline format
must reshuffle the ordering, but that's in the gnuplot realm anyway, so
a discussion may be moot. In principle I guess it could be solved by a
split-window editor view, showing the top and the bottom of the file,
but it's a complication of course.
cheers,
sven