Views and plotting functions.