Generation

fix invalid codeWed, 03 May 2023

index_plot <- ggplot(gg_df, aes(x=Data, y=wartość, color=indeks)) + geom_line() + scale_x_date(date_breaks = "months" , date_labels = "%b-%y") + theme(axis.text.x = element_text(angle = 45)) + guides(fill = "legend") index_plot index_plot_gap <- gg.gap( plot=index_plot, segments=c(10000,40000), ylim=c(0,75000), tick_width = c(2000,5000) ) Modify so the each geom_line has its name labeled.

Questions about programming?Chat with your personal AI assistant