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

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

[Octave-bug-tracker] [bug #62063] Manual position of legend changes afte


From: George Apostolopoulos
Subject: [Octave-bug-tracker] [bug #62063] Manual position of legend changes after print
Date: Wed, 16 Feb 2022 06:59:15 -0500 (EST)

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

                 Summary: Manual position of legend changes after print 
                 Project: GNU Octave
            Submitted by: gapost
            Submitted on: Wed 16 Feb 2022 11:59:12 AM UTC
                Category: Plotting
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Incorrect Result
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
                 Release: 6.2.0
         Discussion Lock: Any
        Operating System: GNU/Linux

    _______________________________________________________

Details:

For a legend that has been positioned manually, the position is changed after
a 'print' command.

Example code:


x=[0:0.1:1];
plot(x,x.^2);

hl=legend('y(x)=x^2')

set(hl,'location','none')
set(hl,'position',[0.2 0.5 0.25 0.25])
% legend has the specified position

print -dpdfcrop tst_lgnd
% legend position changed (more specifically: the width/height)
% on screen as well as in printed file




    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Wed 16 Feb 2022 11:59:13 AM UTC  Name: tst_lgnd.pdf  Size: 4KiB   By:
gapost

<http://savannah.gnu.org/bugs/download.php?file_id=52864>
-------------------------------------------------------
Date: Wed 16 Feb 2022 11:59:12 AM UTC  Name: tst_lgnd_screen1.png  Size: 18KiB
  By: gapost

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

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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