I know, that I’m able to change the size of the figure itself with:
But this will change the size of the complete figure, including the size for the legend bar, etc.
Is it possible to just change the size of the graph in the figure? So that my legend has more space?
As you can see in the picture below, my graph is way to big. I just want to shrink the graph itself, without decreasing the size of the resulting pdf image.
So the resulting pdf image should more look like this (I edited with paint):