Thanks 👍

Brian J Revell
Professor Emeritus
Agricultural and Food Economics
Harper Adams University
Newport
Shropshire
TF10 8NB
Tel 01952815237.

Sent from my Galaxy S8+

On Mon, 22 Aug 2022, 11:54 Sven Schreiber, <sven.schreiber@fu-berlin.de> wrote:
Am 22.08.2022 um 12:37 schrieb Brian Revell:
> PS incidentally, although you can edit the graph to manuallyto > define the start and end year entered as integers for X axis, , the > decimal year values still appear in the graph. I haven't yet updated > to the latest Gretl version -but I guess you will be using it so it > clearly has persisted through several generations of Gretl. B

It seems to me that the cause is the automatic way that gnuplot (the underlying program that gretl uses for plotting) calculates the number / frequency of the tic marks.

Indeed, if I add the line
set xtics 1

to the plotting commands then I get rid of the non-integer tics.

(To use this workaround, you have to right-click on your plot, choose "save to session as icon", then in the icon view window you'll have a "Plot 1" icon, right-click on it and choose "edit plot commands", and there you will see the code in gnuplot syntax in a new editor window. Add the line above, click on the save button, and then on the run/execute button.)

cheers

sven




_______________________________________________
Gretl-users mailing list -- gretl-users@gretlml.univpm.it
To unsubscribe send an email to gretl-users-leave@gretlml.univpm.it
Website: https://gretlml.univpm.it/postorius/lists/gretl-users.gretlml.univpm.it/