Updated script to plot titan segments