Circle with ticks: Difference between revisions

From JSXGraph Wiki
No edit summary
No edit summary
Line 22: Line 22:
         this.dataX.push( cx + 1.05 * r * Math.cos(i * alpha) );
         this.dataX.push( cx + 1.05 * r * Math.cos(i * alpha) );
         this.dataY.push( cx + 1.05 * r * Math.sin(i * alpha) );
         this.dataY.push( cx + 1.05 * r * Math.sin(i * alpha) );
        this.dataX.push( NaN );
        this.dataY.push( NaN );
     }
     }
    
    

Revision as of 21:57, 24 March 2014

The underlying JavaScript code