In [1]:
%matplotlib inline

Basic Atlas plotting

Plot the regions of a reference atlas (here the Harvard-Oxford atlas).


In [2]:
from nilearn import datasets
from nilearn import plotting

dataset = datasets.fetch_atlas_harvard_oxford('cort-maxprob-thr25-2mm')
atlas_filename = dataset.maps

print('Atlas ROIs are located at: %s' % atlas_filename)

plotting.plot_roi(atlas_filename, title="Harvard Oxford atlas")
plotting.show()


Atlas ROIs are located at: /usr/local/fsl/data/atlases/HarvardOxford/HarvardOxford-cort-maxprob-thr25-2mm.nii.gz

In [ ]: