xlab, ylabimage2<-image1+theme(axis.title.y=element_text(size=rel(1.8),angle=90))+theme(axis.title.x=element_text(size=rel(1.8),angle=00))+theme(plot.title=element_text(size=rel(2.0),angle=00))image2
Below is the code I have tried and no matter what value I add to x axis dates usingscale_x_date()the x axis frame remains the same. I am not sure what's wrong with the code that I 'av tried below: rtpcr_test_daily_pct%>%filter(!is.na(pct_rtpcr),pct...
library(ggplot2)ggplot(data=test4)+geom_freqpoly(aes(size=4,x=value,color=variable),binwidth=25,boundary=-0.5)+ggtitle("Freqpoly plot")+labs(y="Count",x="Length")+scale_color_brewer("Species",palette="Set2")+scale_x_continuous(breaks=seq(0,4000,500),labels=c("0","500","...
To get a custom categorical y-axis you could use continuous values for y-axis values and then set custom breaks and labels for the y-axis. Example here: library(ggplot2)df<-data.frame(cat=c("AA_1","AA_2","BB_1","BB_2","CC_1","CC_2"),catval=c(1,2,4...