can draw stack plots with right legend
two mode: 1)analysis; 2) read workspace