[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 10:43:12 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0 |
Follow-up Comment #1, bug #56787 (project octave):
I found the following workaround
x = linspace (1, 2);
semilogy (x, x);
h = ylabel ('ylabel')
pos = get(h, 'Position');
legend ('TSFP', 'Location','NorthWest');
set (h, 'Position', pos + [-0.05,0,0])
print ('-depslatexstandalone', '-F:16', 'tstleg')
system ('latex tstleg.tex')
system ('dvips -E tstleg.dvi -o tstleg.eps')
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?56787>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/