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