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

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

[Octave-bug-tracker] [bug #56289] print to eps - clip option


From: Leonardo
Subject: [Octave-bug-tracker] [bug #56289] print to eps - clip option
Date: Wed, 8 May 2019 10:06:54 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:66.0) Gecko/20100101 Firefox/66.0

URL:
  <https://savannah.gnu.org/bugs/?56289>

                 Summary: print to eps - clip option
                 Project: GNU Octave
            Submitted by: pocker
            Submitted on: Wed 08 May 2019 02:06:52 PM UTC
                Category: None
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Matlab Compatibility
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 5.1.0
        Operating System: GNU/Linux

    _______________________________________________________

Details:

Hi,

when printing a plot to eps using the option -tight, the generated eps file
has indeed the BoundingBox values (BB for short).

Opening the eps file with any viewer will show the correct image (respecting
the BB)

When inserting the eps file into latex, however, the BB will be respected only
if I use the "clip" option, i.e.,

\includegraphics[scale=0.7,clip]{figure.eps}

and if I remove the "clip" option, the BB value, for some reason, is partially
ignored. See pdf attached.

Nevertheless, if I use matlab to generate the same figure, there is no need to
use the "clip" option.

It seems like the eps generated by matlab has some sort of "clip enable" in
the eps sourcecode.

If this is the case, is it possible to enable clip by default?

P.S. I use "latex" command to generate the .dvi and dvipdf to convert to .pdf.
If I use "pdflatex", there is no problem since the eps is converted to pdf
first.



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Wed 08 May 2019 02:06:52 PM UTC  Name: example.pdf  Size: 21KiB   By:
pocker

<http://savannah.gnu.org/bugs/download.php?file_id=46884>

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?56289>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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