If I take the basis $(\vec{e_x},\vec{e_y})$ and make a rotation counterclockwise of angle $\theta$, I end up with two new vectors $(\vec{u},\vec{v})$ such that :
$\vec{u} = \cos\theta \vec{e_x} + \sin\theta \vec{e_y}$
$\vec{v} = \cos\theta \vec{e_x} - \sin\theta \vec{e_y}$
so \begin{equation} \left( \begin{array}{ccc} \vec{u} \\ \vec{v}\end{array} \right) = \left( \begin{array}{ccc} \cos\theta & \sin\theta\\ -\sin\theta & \cos\theta\end{array} \right) \left( \begin{array}{ccc} \vec{e_x} \\ \vec{e_y}\end{array} \right) \end{equation}
I don't understand why the counterclockwise rotation is defined as : \begin{pmatrix} \cos\theta & -\sin\theta \\ \sin\theta & \cos\theta \end{pmatrix}
EDIT:
When I look at my picture, it looks like a counterclockwise rotation...