Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

migrated from Dec 3 '12 at 17:29

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

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

You must log in to answer this question.