# NOT RUN {
fsbrain::download_optional_data();
subjects_dir = fsbrain::get_optional_data_filepath("subjects_dir");
coloredmeshes = vis.subject.morph.native(subjects_dir, 'subject1',
'thickness', 'lh', views=c('t4'));
coloredmesh.plot.colorbar.separate(coloredmeshes);
# Or plot a colorbar with a label:
coloredmesh.plot.colorbar.separate(coloredmeshes,
image.plot_extra_options = list("legend.lab"="Thickness [mm]",
horizontal=TRUE, legend.cex=1.5, legend.line=-3));
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab