hexagon logo

How to rotate the custom coordinate system

i have created the new coordinate, i want to rotate into some angle (ie. 45 degree) about specific axis (ie. x-axis)