I am following this tutorial to make a draggable trackbar, but the trackbar only appears on the bottom of the window, and I cannot find an option to change that behavior. In the tutorial, they clearly show the trackbar at the top of the figure.
http://docs.opencv.org/doc/tutorials/highgui/trackbar/trackbar.html
I expect this may be an issue caused by the "figure viewer" Ubuntu uses, but is there any way I can get it to appear at the top?