Dear Contributors,
I have two dataset of different lengths, each containing year, month,
day and counts.
After converting the date using as.Date function, I plotted the two
dateset on one graph. That was fine.
I am, however, having problems with the axis 1 where I am trying to
put the dates.
Since
This seems to work
ggplot(t1) +
geom_col(aes(x=TIME,y=GDPgr,fill=col),show.legend=FALSE) +
scale_fill_manual(values=c("navyblue","red")) +
facet_wrap(~Country,ncol=3)
HTH,
Eric
On Sun, Aug 25, 2019 at 5:45 AM wrote:
> Resubmitted as recommended:
>
> I am having difficulty with
Resubmitted as recommended:
I am having difficulty with a chart using ggplot. It is a facetted
column chart showing GDP growth rates by country. The columns are
coloured navyblue, except that I want to colour the most recent columns,
for 2019-Q1 and 2019-Q2, red. For some countries data are av
Hi Phil,
Please resubmit your question with the data frame contents shown as the
output from the command
dput(t1.txt). This will make it easier for people to run your reprex and
respond to your question.
Best,
Eric
On Sun, Aug 25, 2019 at 5:26 AM wrote:
> I am having difficulty with a chart u
I am having difficulty with a chart using ggplot. It is a facetted
column chart showing GDP growth rates by country. The columns are
coloured navyblue, except that I want to colour the most recent columns,
for 2019-Q1 and 2019-Q2, red. For some countries data are available up
to 2019-Q2 while f
5 matches
Mail list logo