On 11/1/13 5:29 PM, Pietro Corvisiero wrote:
> On MacBook Air running Mac OS X 10.8.2
> 1) I create the test.eps file (containing several plots) with "gnuplot";
> 2) I convert it to test.pdf using "ps2pdf";
> 3) and I display test.pdf on the screen using "Preview.app".
> But only the first plot is page-centered, all the following being
> misaligned.
> Maybe some further option is needed to ps2pdf?
> (Please, note that I am forced to use postscript terminal in gnuplot..)
> Here is a very short bash-script: if executed, it will highlight my problem
> Thank you
>
> #!/bin/bash
> gnuplot <<EOF
> set terminal postscript eps enhanced color font 'Helvetica,20'
> set output 'test.eps'
> set xlabel "{/Symbol w}t"
> plot [0:6*pi] sin(x) t "sin({/Symbol w}t)"
> plot [0:6*pi] cos(x) t "cos({/Symbol w}t)"
> plot [0:6*pi] sin(x)*cos(x) t "sin({/Symbol w}t) cos({/Symbol w}t)"
> EOF
> ps2pdf -dEPSCrop test.eps test.pdf
> open -a /Applications/Preview.app test.pdf
>
>
>

I've had issues with this kind of thing in the past.  What I typically 
did was use epstool to fix the bounding box of the file.

-- 
Alexander Hansen, Ph.D.
Fink User Liaison
My package updates: http://finkakh.wordpress.com/

------------------------------------------------------------------------------
Android is increasing in popularity, but the open development platform that
developers love is also attractive to malware creators. Download this white
paper to learn more about secure code signing practices that can help keep
Android apps secure.
http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk
_______________________________________________
Fink-beginners mailing list
Fink-beginners@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.apple.fink.beginners
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-beginners

Reply via email to