Plotting output cd