Artur & Sven,
Thanks for your help! I'm using the Penn World Tables. Gretl correctly recognized it
as a panel, but I hadn't set the dataset structure. When I did that, it
worked...almost. Running the attached script, the first plot still has observation
numbers, but the rest correctly show the year.
Pete
-----Original Message-----
From: Artur T. <atecon(a)posteo.de>
Sent: Friday, January 27, 2023 9:58 AM
To: gretl-users(a)gretlml.univpm.it
Subject: [EXTERNAL] [Gretl-users] Re: panplot question
***This email is from an external source. Only open links and attachments from a Trusted
Sender.***
Am 27.01.23 um 15:05 schrieb Summers, Peter:
Hi folks,
I’m creating a couple graphs using panplot, and I’d like to have the
x-axis labels be the date (year), rather than the time period number.
Is there a way to do that? (I realize that may be a gnuplot question.)
More generally, would it be possible to incorporate panplot
functionality into the plot…end plot environment?
Hi Peter,
try this please:
<hansl>
set verbose off
clear
nulldata 20
series y = normal()
setobs 10 1:1 --stacked-time-series
panplot y --overlay --output=display
# Set calendar data
setobs 4 2020:1 --panel-time # quarterly obs.
panplot y --overlay --output=display # shows proper date now
</hansl>
The crucial point is to define the frequency and initial date.
Best,
Artur
_______________________________________________
Gretl-users mailing list -- gretl-users(a)gretlml.univpm.it To unsubscribe send an email to
gretl-users-leave(a)gretlml.univpm.it
Website:
https://gretlml.univpm.it/postorius/lists/gretl-users.gretlml.univpm.it/