octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #53535] print with eps driver should use '-tig


From: Michael Godfrey
Subject: [Octave-bug-tracker] [bug #53535] print with eps driver should use '-tight' bbox by default for Matlab compatibility
Date: Mon, 16 Apr 2018 18:11:15 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.181 Safari/537.36

Follow-up Comment #4, bug #53535 (project octave):

Rik: Seems right to me.

The following code does the setting tight BB:
  print (outfile, "-color");
  close (gcf ());     %% ensure that figure is written to PDF
  cropcmd = ["pdfcrop " outfile " " outfile];
  system(cropcmd);

"pdfcrop" is the script that does the work. It is available
from Sourgeforge and is just a pearl script which calls gs.
The version I used can be downloaded from:

https://sourceforge.net/projects/pdfcrop/files/

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?53535>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]