Skip to content
Snippets Groups Projects
Commit 852156d8 authored by Sajjad Ghaffarinasabsharabiani's avatar Sajjad Ghaffarinasabsharabiani
Browse files

Update README.md

parent 72902eef
Loading
...@@ -20,7 +20,7 @@ source("https://gitlab.cs.uni-duesseldorf.de/ghaffarinasabsharabiani/ccb_theme/- ...@@ -20,7 +20,7 @@ source("https://gitlab.cs.uni-duesseldorf.de/ghaffarinasabsharabiani/ccb_theme/-
#line chart with points #line chart with points
#Here, "data" represents the data frame you want to plot, and "x" and "y" represent the variables you want to plot on the x and y #axes, respectively. #Here, "data" represents the data frame you want to plot, and "x" and "y" represent the variables you want to plot on the x and y #axes, respectively.
#The ellipsis (...) represents any other ggplot2 code you want to add to customize your plot.
df <- data.frame(x=1:10,y=rnorm(10)) df <- data.frame(x=1:10,y=rnorm(10))
...@@ -28,7 +28,7 @@ ggplot(df,aes(x=x,y=y))+ ...@@ -28,7 +28,7 @@ ggplot(df,aes(x=x,y=y))+
geom_point()+ geom_point()+
geom_line(linewidth=1.5,color=mycolor[1])+ geom_line(linewidth=1.5,color=mycolor[1])+
CCB_plot_style()+ CCB_plot_style()+
scale_color_manual(values = mycolor)+ ... scale_color_manual(values = mycolor)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment