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

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

[Octave-bug-tracker] [bug #54793] Dashed line becomes solid in legend


From: Tunc
Subject: [Octave-bug-tracker] [bug #54793] Dashed line becomes solid in legend
Date: Fri, 5 Oct 2018 15:30:33 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:62.0) Gecko/20100101 Firefox/62.0

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

                 Summary: Dashed line becomes solid in legend
                 Project: GNU Octave
            Submitted by: tunc
            Submitted on: Fri 05 Oct 2018 07:30:31 PM 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
         Discussion Lock: Any
                 Release: 4.2.2
        Operating System: GNU/Linux

    _______________________________________________________

Details:

The below code produces a correct figure as viewed in the figure window.
However, the rendered bug.png figure (attached) produces a solid line in the
legend, although the data is still shown as a dashed line. The same situation
is also the case if the exported file is .jpg.

I figured out that this problem happens because of the presence of the third
line, "legend boxoff". 


plot(1:10, 1:10, 'r:', 'linewidth', 3);
legend('a');
legend boxoff;
print('bug.png');


I am not very knowledgeable on the source code of Octave. Any input as to how
to fix this would be appreciated.




    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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