This question already has an answer here:
I want to place my axes on the top and right sides of my plot (as opposed to the more common bottom and left).
I found this thread from Googling. That's nice, but is that really the best way to do it at the moment? It seems kind of cumbersome for such a simple operation.