- int iNumCurves = m_vecCurves.size();
-
- if (o_unknowncurves == FALSE && iNumCurves >= o_reqcurves)
- clearCurves ();
-
- if (o_unknowncurves == TRUE || iNumCurves < o_reqcurves) {
- EZPlotCurve* pCurve = new EZPlotCurve (x, y, num, o_color, o_linestyle, o_symbol, o_symfreq, c_legend);
- m_vecCurves.push_back (pCurve);
- }
-
- iNumCurves = m_vecCurves.size(); // recalculate
- if (o_unknowncurves == FALSE && iNumCurves >= o_reqcurves) {
- plot ();
- clearCurves ();
- }
+ EZPlotCurve* pCurve = new EZPlotCurve (x, y, num, o_color, o_linestyle, o_symbol, o_symfreq, c_legend);
+ m_vecCurves.push_back (pCurve);