You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Come share some cool plots you've made and how you made them! All languages and fields of research welcome.
There are no rules to Lightning Demos except that demos should be no more than 5-10 minutes in length and focusing primarily on the code itself. Anyone is welcome to present!
using the projects package to streamline making plots and overall project management
using functions with ggplot themes + using lists to save ggplot theme formatting:
# use function to make a modifiable theme objectfig_1_theme<-function(font_size=12) {
theme(
axis.title= element_text(family='Helvetica', size=font_size,
axis.text= element_text(family='Helvetica', size=font_size))
}
}
# save ggplot plot modifications to listplot_mods<-list(
xlab('Length'),
ylab('Width'),
coord_cartesian(x= c(0, 10), y= c(0, 10))
)
sepal_plot<- ggplot(iris, aes(x=Sepal.Length, y=Sepal.Width) +
geom_point() +
fig_1_theme(font_size=12) +plot_modspetal_plot<- ggplot(iris, aes(x=Petal.Length, y=Petal.Width) +
geom_point() +
fig_1_theme(font_size=12) +plot_mods# join plots with patchworkfinal_plot<-sepal_plot+petal_plot+ plot_layout(ncol=1, nrow=2)
Thanks all for a great session and a wonderful semester! We hope to have a schedule out for next semester's events soon. We also aim to send out a survey to help gauge interest in different event topics for the coming semester - stay tuned!
Come share some cool plots you've made and how you made them! All languages and fields of research welcome.
There are no rules to Lightning Demos except that demos should be no more than 5-10 minutes in length and focusing primarily on the code itself. Anyone is welcome to present!
Where: Zoom https://utoronto.zoom.us/j/86100715008 (Password: coders)
When: Thursday, December 3, from 19:00 - 20:00
Instructor: n/a
Skill level: n/a
Installation Instructions: n/a
Note: Our sessions will all be held online until further notice, instead of at the MADLab.
The text was updated successfully, but these errors were encountered: