Move selection/plotting into own function
Move selection/plotting into own function

Plotting is thus much easier and also potentially nicer.

habi/GlobalDiagnostiX,habi/GlobalDiagnostiX,habi/GlobalDiagnostiX