![]() Now there are two distinct properties: 'set size' and 'set term. My script (plot.sh) for generating the PDF output: gnuplot $1. Historical note: In early versions of gnuplot some terminal types used set size to control also the size of the output canvas other terminal types did not. Et voila, Iâve got a 3-tool-pipeline for generating margin-less plots â see the resulting graphic below. I simply downloaded the EPS tools package and copied the three files into /usr/bin and made them executable to run them. ![]() Ugh.Īfter some more digging, I found yet another tool, eps2pdf, which converts an EPS image to PDF â and happily accepts a rotation parameter. Unfortunately, for some unknown reason, it also rotates the resulting image by 90 degrees clockwise and there are no options to rotate or prevent rotation of the output. After some digging, however, I came across the eps2eps tool (happened to be installed on my machine already) which âfixesâ the bounding box and removes unnecessary whitespace. This is obviously not great, but there seems to be now way around it other than manually removing the whitespace, e.g. You can change the plot size or aspect ratio, but not the canvas size, which results in lots of whitespace around the plot, see the picture below where the blue frame marks the bounding box of the resulting eps. This seems to be impossible in gnuplot, as the usual (since gnuplot 4.4 or so) way to change the plot and canvas size âset size â¦â works differently for the postscript terminal. have no or only little unnecessary whitespace around the plot.change the standard ratio of the plot canvas from around 4:3 to âa bit wider and less highâ (in order to fit the standard width of my 1 column LaTeX text without taking up half of the page).Iâve had some fun creating plots in gnuplot lately, and happened across one of those âit works everywhere but not for my setupâ type problems.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |