On Thu, 27 Nov 2008, Allin Cottrell wrote:
On Thu, 27 Nov 2008, Talha Yalta wrote:
> I was teaching someone how to use gretl for research and while showing
> the various plot options, the first thing she noticed and asked about
> was whether it is possible to have "bar graphs". I think it would
> really be useful if we could select "bars" among the various line
> types such as points, impulses and steps...
You can use "impulses" (and choose a greater line width if you
wish).
Uhmm... maybe I fail to see something really obvious here, but...
Talha: try applying the following patch; would you be happy with the
result?
Allin: are there any undesirable side-effects with this patch I haven't
thought of?
Index: gui2/gpt_dialog.c
===================================================================
RCS file: /cvsroot/gretl/gretl/gui2/gpt_dialog.c,v
retrieving revision 1.109
diff -u -r1.109 gpt_dialog.c
--- gui2/gpt_dialog.c 21 Nov 2008 21:56:51 -0000 1.109
+++ gui2/gpt_dialog.c 27 Nov 2008 23:11:11 -0000
@@ -1926,6 +1926,7 @@
stylist = g_list_append(stylist, "impulses");
stylist = g_list_append(stylist, "dots");
stylist = g_list_append(stylist, "steps");
+ stylist = g_list_append(stylist, "boxes");
vbox = gp_dialog_vbox();
gtk_widget_show(vbox);
Riccardo (Jack) Lucchetti
Dipartimento di Economia
Università Politecnica delle Marche
r.lucchetti(a)univpm.it
http://www.econ.univpm.it/lucchetti