Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Gnuplot doesn't usually provide me with such problems, but when I set the aspect ratio manually, or with 'set size square' the top part of the plot is cut/cropped off. Doesn't matter if term is aqua, jpeg, png, eps etc.

I'm on OSX and using 4.4 patch level 3 (Not the newest, as they have issues with terminal types).

share|improve this question
add comment

migrated from stackoverflow.com Dec 3 '12 at 17:29

This question came from our site for professional and enthusiast programmers.

1 Answer

Most terminals allow you to set a size for the output -- e.g.:

set terminal png size 400,500  #size in pixels
set output "foo.png"

You can try playing around with the size of the output terminal to see if you can get it to work. You can also use set size and set origin to make your plot a little smaller than it would normally be and to move it around on the "canvas" if needed. Finally, if all else fails, you can set your margins explicitly:

set tmargin at screen 0.9  #top
set bmargin at screen 0.1  #bottom
set lmargin at screen 0.1  #left
set rmargin at screen 0.9  #right
share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.