public void undump(StringTokenizer st) {
        reset();
        int e = new Integer(st.nextToken()).intValue();
        if (e == -1) {
            return;
        }
        elm = sim.getElm(e);
        speed = new Integer(st.nextToken()).intValue();
        value = new Integer(st.nextToken()).intValue();
        int flags = new Integer(st.nextToken()).intValue();
        minMaxV = new Double(st.nextToken()).doubleValue();
        minMaxI = new Double(st.nextToken()).doubleValue();
        if (minMaxV == 0) {
            minMaxV = .5;
        }
        if (minMaxI == 0) {
            minMaxI = 1;
        }
        text = null;
        yElm = null;
        try {
            position = new Integer(st.nextToken()).intValue();
            int ye = -1;
            if ((flags & FLAG_YELM) != 0) {
                ye = new Integer(st.nextToken()).intValue();
                if (ye != -1) {
                    yElm = sim.getElm(ye);
                }
            }
            while (st.hasMoreTokens()) {
                if (text == null) {
                    text = st.nextToken();
                } else {
                    text += " " + st.nextToken();
                }
            }
        } catch (Exception ee) {
        }
        showI = (flags & 1) != 0;
        showV = (flags & 2) != 0;
        showMax = (flags & 4) == 0;
        showFreq = (flags & 8) != 0;
        lockScale = (flags & 16) != 0;
        plot2d = (flags & 64) != 0;
        plotXY = (flags & 128) != 0;
        showMin = (flags & 256) != 0;
    }