From c9df8c126c7f80eed5457218ed4477ef806a8954 Mon Sep 17 00:00:00 2001
From: Sajjad Ghaffarinasabsharabiani <ghaffas@hhu.de>
Date: Mon, 6 Mar 2023 12:30:14 +0000
Subject: [PATCH] Update README.md

---
 README.md | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/README.md b/README.md
index caf378a..f4deb36 100644
--- a/README.md
+++ b/README.md
@@ -9,7 +9,7 @@ You can use the stylesheet file like so:
 
 
 ## Example code
-To utilize the "CCB_plot_style" function in your ggplot codes, simply incorporate it into your code. With "mycolor", you have the flexibility to select from various colors to represent your data.
+After sourcing the function, you can use it in your ggplot codes by including the "CCB_plot_style" function code in your ggplot script. With "mycolor", you have the flexibility to select from various colors to represent your data.
 
 ```
 library(ggplot2)
@@ -19,14 +19,15 @@ source("https://gitlab.cs.uni-duesseldorf.de/ghaffarinasabsharabiani/ccb_theme/-
 
 
 #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.
+#The ellipsis (...) represents any other ggplot2 code you want to add to customize your plot.
 df=data.frame(x=1:10,y=rnorm(10))
 
 ggplot(df,aes(x=x,y=y))+
   geom_point()+
   geom_line(linewidth=1.5,color=mycolor[1])+
   CCB_plot_style()+
-  scale_color_manual(values = mycolor) 
+  scale_color_manual(values = mycolor)+ ...
 
 
 
-- 
GitLab