This paper deals with the issue of monitoring physical phenomena using wireless sensor networks. It provides principal component analysis for the time series of sensors' measurements. Without the need to compute the sample covariance matrix, we derive several in-network strategies to estimate the principal axis, including noncooperative and diffusion strategies. The performance of the proposed strategies is illustrated in the issue of monitoring gas diffusion.