+ s_xmin = FALSE;
+ s_xmax = FALSE;
+ s_ymin = FALSE;
+ s_ymax = FALSE;
+
+ clr_axis = C_LTGRAY; // set fixed colors
+ clr_title = C_RED;
+ clr_label = C_BLUE;
+ clr_legend = C_CYAN;
+ clr_number = C_GREEN;
+ clr_grid = C_LTGRAY;
+}
+
+void
+
+EZPlot::setColor (unsigned int iCurve, int iColor)
+
+{
+
+ if (m_veciColor.size() <= iCurve) {
+
+ m_veciColor.resize ((m_iCurrentCurve + 1) * 2);
+
+ m_vecbColorSet.resize ((m_iCurrentCurve + 1) * 2);
+
+ }
+
+ m_veciColor [iCurve] = iColor;
+
+ m_vecbColorSet [iCurve] = true;
+
+}
+
+
+
+void
+
+EZPlot::setSymbol (unsigned int iCurve, int iSymbol)
+
+{
+
+ if (m_veciSymbol.size() <= iCurve) {
+
+ m_veciSymbol.resize ((m_iCurrentCurve + 1) * 2);
+
+ m_vecbSymbolSet.resize ((m_iCurrentCurve + 1) * 2);
+
+ }
+
+ m_veciSymbol [iCurve] = iSymbol;
+
+ m_vecbSymbolSet [iCurve] = true;
+
+}
+
+
+
+void
+
+EZPlot::setSymbolFreq (unsigned int iCurve, int iSymbolFreq)
+
+{
+
+ if (m_veciSymbolFreq.size() <= iCurve) {
+
+ m_veciSymbolFreq.resize ((m_iCurrentCurve + 1) * 2);
+
+ m_vecbSymbolFreqSet.resize ((m_iCurrentCurve + 1) * 2);
+
+ }
+
+ m_veciSymbolFreq [iCurve] = iSymbolFreq;
+
+ m_vecbSymbolFreqSet [iCurve] = true;
+
+}
+
+
+
+void
+
+EZPlot::setLinestyle (unsigned int iCurve, int iLinestyle)
+
+{
+
+ if (m_veciLinestyle.size() <= iCurve) {
+
+ m_veciLinestyle.resize ((m_iCurrentCurve + 1) * 2);
+
+ m_vecbLinestyleSet.resize ((m_iCurrentCurve + 1) * 2);
+
+ }
+
+ m_veciLinestyle [iCurve] = iLinestyle;
+
+ m_vecbLinestyleSet [iCurve] = true;
+
+}
+
+
+
+void
+
+EZPlot::setLegend (unsigned int iCurve, const std::string& strLegend)
+
+{
+
+ if (m_vecsLegend.size() <= iCurve) {
+
+ m_vecsLegend.resize ((m_iCurrentCurve + 1) * 2);
+
+ m_vecbLegendSet.resize ((m_iCurrentCurve + 1) * 2);
+
+ }
+
+ m_vecsLegend [iCurve] = strLegend;
+
+ m_vecbLegendSet [iCurve] = true;
+
+}
+
+
+
+void
+
+EZPlot::setLegend (unsigned int iCurve, const char* const pszLegend)
+
+{
+
+ if (m_vecsLegend.size() <= iCurve) {
+
+ m_vecsLegend.resize ((m_iCurrentCurve + 1) * 2);
+
+ m_vecbLegendSet.resize ((m_iCurrentCurve + 1) * 2);
+
+ }
+
+ m_vecsLegend [iCurve] = pszLegend;
+
+ m_vecbLegendSet [iCurve] = true;
+
+}
+
+
+
+int
+
+EZPlot::getColor (unsigned int iCurve) const
+
+{
+
+ if (m_veciColor.size() > iCurve && m_vecbColorSet[iCurve])
+
+ return m_veciColor[iCurve];
+
+ else
+
+ return o_color;
+
+}
+
+
+
+int
+
+EZPlot::getSymbol (unsigned int iCurve) const
+
+{
+
+ if (m_veciSymbol.size() > iCurve && m_vecbSymbolSet[iCurve])
+
+ return m_veciSymbol[iCurve];
+
+ else
+
+ return o_symbol;
+