I wanted to create a histogram, so typed
Unfortunately, the 'horizontal legend' (i.e. the horizontal text just below the x-axis) now overlaps with the numbers just below the x-axis. I believe that this is because I have changed the default font for graphs to Latin Modern.
I have tried various approaches to fix this, but none of them work for me. The closest I have got was by writing
While this seems to have created a gap, it also stretched the histogram a lot horizontally.
Is there a simple fix to this? I feel like a solution must have been posted somewhere, but after a lot of Googling I can't find it... (This may reflect my limited Googling skills!)
Note: I am using grstyle and would especially appreciate a solution that uses this. I do know how to drag the legend downwards using the graph editor.
Code:
hist variable, fraction width(0.2)
I have tried various approaches to fix this, but none of them work for me. The closest I have got was by writing
Code:
hist variable, fraction width(0.2) xsize(10)
Is there a simple fix to this? I feel like a solution must have been posted somewhere, but after a lot of Googling I can't find it... (This may reflect my limited Googling skills!)
Note: I am using grstyle and would especially appreciate a solution that uses this. I do know how to drag the legend downwards using the graph editor.
Comment