HyperWorks Desktop

*ResetCurveDefaults()

Resets the curve defaults.

*ResetCurveDefaults()

Resets the curve defaults.

Previous topic Next topic No expanding text in this topic  

*ResetCurveDefaults()

Resets the curve defaults.

Previous topic Next topic JavaScript is required for expanding text JavaScript is required for the print function  

Syntax

*ResetCurveDefaults()

Example

*BeginDefaults()

   *BeginPlotDefaults()

      *ResetCurveDefaults()

       {type = {1,2,5,3,4,2,3,5}

        color = {22,18,55,46,50,24,54,38,0}

        t=0

        c=0

        for(i=0;i<=62;i++)}

      *SetCurveDefaults({type[t]},{color[c]},1,0,{color[c]})

      *SetBarDefaults({color[c]},{color[c]})

       {  t++

          c++

          if(t==numpts(type))

           t=0

          endif

          if(c==numpts(color))

          c=0

          endif

        endloop}

  *EndPlotDefaults()

*EndDefaults()

Application

HyperGraph and HyperStudy.

Context

*BeginDefaults()

*BeginPlotDefaults()

Comments

*ResetCurveDefaults() works in conjunction with *SetCurveDefaults(). Placing a *ResetCurveDefaults() in your preference file ignores all previous *ResetCurveDefaults() statements.

See also

 

*SetCurveDefaults()

List of Preference Statements