streams are sorted just before plotting
figure is clear() just before plotting