I've been having issues displaying minor tick marks on my histogram plot. I've tried the idea of plotting unlabeled major tick marks, but the tick marks wouldn't display. My code is pretty cumbersome and probably has some redundant lines. Any help would be appreciated.
ggplot(data=Shrimp1, aes(Shrimp1$Carapace.Length))+
geom_histogram(breaks=seq(3.5, 25, by=0.1),
col="black",
fill="gray",
alpha=1)+
labs(title="Total Female Carapace Length")+
labs(x="Carapace Length (mm)", y="# of Shrimp")+
xlim(c(3.5, 25))+
theme_bw()+
scale_y_continuous(expand = c(0,0),
limits = c(0,200))+
scale_x_continuous(breaks=seq(2.5,25,2.5))+
theme(axis.text.x=element_text(size=30,angle=45,hjust=1))+
theme(plot.title=element_text(size=30, hjust=0.5))+
theme(axis.text=element_text(size=30, color = "black"),
axis.title=element_text(size=30,face="bold"))+
theme(panel.grid.major=element_line(colour="white"),
panel.grid.minor = element_line(colour = "white"))+
theme(panel.border=element_blank())+
theme(axis.ticks.x = (element_line(size=2)),
axis.ticks.y=(element_line(size=2)))+
theme(axis.ticks.length=unit(.55, "cm"))+
theme(panel.border=element_blank(), axis.line.x=element_line(colour="black"),
axis.line.y=element_line(colour="black"))
Major ticks are present but I need minor ticks between them at intervals of 0.1