Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
courses
workshop_git
Commits
e6447235
Commit
e6447235
authored
Nov 28, 2019
by
eboulanger
Browse files
fill colour update
parent
e09fb64d
Changes
1
Hide whitespace changes
Inline
Side-by-side
scripts/script_jb.R
View file @
e6447235
# Feature 1
# Simple barplot of the rank 1 among votes
# coucou
# List of 10 features to change in this script:
# 1) Change barplot colors by the provided palette
# 2) Change x axis angle
...
...
@@ -56,7 +58,7 @@ str(top_votes)
# Plot first 8
votes_1_plot
<-
ggplot
(
top_votes_1
,
aes
(
x
=
bird_breed
,
y
=
total
,
fill
=
bird_breed
))
+
geom_bar
(
stat
=
'identity'
)
+
#
scale_fill_manual(values = my_palette)+
scale_fill_manual
(
values
=
my_palette
)
+
# done Emilie
theme
(
panel.grid.major
=
element_blank
(),
panel.grid.minor
=
element_blank
(),
axis.line
=
element_line
(
colour
=
'black'
),
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment