Aligned single-walled carbon nanotube arrays provide a great potential for the carbon-based nanodevices and circuit integration. Aligning single-walled carbon nanotubes with selected helicities and identifying their helical structures remain a daunting issue. The widely used gas-directed and surface-directed growth modes generally suffer the drawbacks of mixed and unknown helicities of the aligned single-walled carbon nanotubes. Here we develop a rational approach to anchor the single-walled carbon nanotubes on graphite surfaces, on which the orientation of each single-walled carbon nanotube sensitively depends on its helical angle and handedness. This approach can be exploited to conveniently measure both the helical angle and handedness of the single-walled carbon nanotube simultaneously at a low cost. In addition, by combining with the resonant Raman spectroscopy, the (n,m) index of anchored single-walled carbon nanotube can be further determined from the (d,theta) plot, and the assigned (n, m) values by this approach are validated by both the electronic transition energy E-ii measurement and nanodevice application.