co-ordinate system

I have drawn a co-orditnate system in my viewport… everything is fine… but when I switch my view( example from front view to top view), my X,Y and Z positions are not transforming properly…
they are misplacing.
I drawn those x,y,z letters with glbitmap(…)
could anybody help me out…

Make sure you push the original prespective/view matrices and setup another set for rendering the x/y/z letters then restore the original matrices.