theme_black_bg.Rd
theme_black_bg
makes the background of the image black,
theme_no_ticks
removes tick marks from the axes,
theme_all_blank
removes additional aesthetic labels
from the ggplot image,
theme_black_bg() theme_all_blank() theme_no_ticks()
ggplot theme objects
if (FALSE) { library(oro.nifti) library(ggplot2) s_map1<-readNIfTI(system.file('seed_corr_1.nii.gz', package='ggBrain')) template <- readNIfTI(system.file('template.nii.gz', package='ggBrain')) dd<-ggBrain(brains=template,mask=template>0, mar=c(3,3),mar_ind=c(30,40),col_ind=c(1,2), type='structural',center_coords=FALSE)+ scale_fill_continuous(low="black", high="white") #without theme settings dd #with theme settings dd + theme_black_bg() dd + theme_black_bg() + theme_no_ticks() dd + theme_black_bg() + theme_all_blank() }