Hello,
what a service! Thanks very, very much. I just tried the new commands and all works well,
except that one cannot use --plot and --silent (to supress the statistics printed)
together or use literals as with gnuplot, e.g.: { set title ""; } If that was
possible, too, it would be even more fantastic and allow to generate publication-ready
histograms ;) But even now with the new options present, one can produce .gp files
directly and easily fix things there via copy and paste. So this is not too important.
(The ' "icon label" <- ' option does not seem to work despite a
confirmative text is produced in the output window - the latter even if the --plot option
is active, too.).
But I feel a bit unthankful to ask for more. Please don't see it that way.
- Frederik
-----Ursprüngliche Nachricht-----
Von: gretl-users-bounces(a)lists.wfu.edu [mailto:gretl-users-bounces@lists.wfu.edu] Im
Auftrag von Allin Cottrell
Gesendet: Montag, 14. März 2016 22:44
An: Gretl list
Betreff: Re: [Gretl-users] automated frequency histograms plotting and saving
On Mon, 14 Mar 2016, Sven Schreiber wrote:
Am 14.03.2016 um 14:08 schrieb Schaff, Frederik:
> Hello,
>
> I was wondering if there exists an (undocumented) option to save
> freq. histograms to the disk as, say .png file. I can use the"
> --show-plot" option in a loop and then manually save the figures thus
> created (even save them as icon and manipulate them). But is there a
> way to save them to a file like it is possible with scatters and
> boxplots? I.e. something like an "output=" option and perhaps even a
> way to pass additional arguments via { set ... ; } ?
A very good question. I see no good reason why it shouldn't get the
same --output option as 'gnuplot' or 'boxplot'.
While we're at it, I notice that 'rmplot' does not have such an
option, either.
And in the doc for 'scatters' the line "--output=filename (send output
to specified file)" is included twice.
Good points. I realize that I did something about some of this a while back but apparently
stopped short of completing or documenting it. I've now updated the help text and
brought "freq" into line with similar commands. Here's the deal:
* Commands such as "gnuplot", "plot", "scatters",
"boxplot" and "qqplot", which just produce plots, should all respect
the "--output=" option, taking an argument of either "display" or the
name of a file (which then governs the type of file produced).
* Other commands that can produce a plot but also produce textual output
("rmplot", "leverage", "freq", etc.) all have a option,
"--plot=", which also accepts a "display" or filename argument, but in
addition accepts "none" (which suppresses the plot that is produced by default
in interactive use).
Adding this "--plot=" option to "freq" means that two existing options
become redundant, namely --quiet (use --plot=none now) and --show-plot (use
--plot=display). I haven't yet removed these options but I've dropped them from
the help text and I'll mark them as deprecated.
What I've described is now in git and snapshots.
Allin
_______________________________________________
Gretl-users mailing list
Gretl-users(a)lists.wfu.edu
http://lists.wfu.edu/mailman/listinfo/gretl-users