info localaxes <name> returns the parameters (three euler angles and the center) that define the local axes called <name>.

info localaxes <name> -localaxesmat instead of returning the three euler angles, it returns the nine numbers that define the transformation matrix of a vector from the local axes system to the global one.