control the margins of a plot in a figure

Hello,
I set my figure to a certain size and I want the plot to be scaled
into that figure canvas
Currently, that doesnt happen, there is a lot of whitespace at the margins
how do I control that whitespace?
thanks
-frank