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

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

[Octave-bug-tracker] [bug #56787] Misplaced legend when printing with a


From: Marco Caliari
Subject: [Octave-bug-tracker] [bug #56787] Misplaced legend when printing with a nondefault size
Date: Wed, 21 Aug 2019 08:34:43 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0

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

                 Summary: Misplaced legend when printing with a nondefault
size
                 Project: GNU Octave
            Submitted by: caliari
            Submitted on: Wed 21 Aug 2019 12:34:41 PM UTC
                Category: Plotting with OpenGL
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: None
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 5.1.0
        Operating System: GNU/Linux

    _______________________________________________________

Details:

Maybe this is related to bug #39697, comment #15. The following


x = linspace (1, 2);
semilogy (x, x);
ylabel ('ylabel')
h = legend ('TSFP', 'Location','NorthWest');
pos = get (h, 'Position')
set (h, 'Position', pos + [0.1, 0, 0.1, 0])
pause
print ('-depslatexstandalone', '-F:16', 'tstleg')
system ('latex tstleg.tex')
system ('dvips -E tstleg.dvi -o tstleg.eps')


produces a tstleg.eps figure in which the legend is outside the box on the
left. In order this to happen, it is necessary to use a seimlogy plot, to use
the ylabel and to use the option -F:16 in print. Manually changing the
position (set (h, 'Position' ...)) does not help: the legend is pushed to the
left when printing.




    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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