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

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

[Octave-bug-tracker] [bug #52946] Using option 'markerfacecolor' in plot


From: anonymous
Subject: [Octave-bug-tracker] [bug #52946] Using option 'markerfacecolor' in plot options when plotting using 'hold' causes black text to save incorrectly.
Date: Mon, 22 Jan 2018 04:46:14 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:57.0) Gecko/20100101 Firefox/57.0

URL:
  <http://savannah.gnu.org/bugs/?52946>

                 Summary: Using option 'markerfacecolor' in plot options when
plotting using 'hold' causes black text to save incorrectly. 
                 Project: GNU Octave
            Submitted by: None
            Submitted on: Mon 22 Jan 2018 09:46:12 AM UTC
                Category: Plotting
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: None
                  Status: None
             Assigned to: None
         Originator Name: David Robinson
        Originator Email: address@hidden
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 4.0.0
        Operating System: GNU/Linux

    _______________________________________________________

Details:

When 'hold all' command is used to plot multiple lines on same axes, using the
option 'markerfacecolor' on any of the plots causes the figure to save
incorrectly. The displayed figure is unaffected.

Black text in the legend and black outlines are not saved into the plot in
this instance (see example code and output).

 
hold all;                                                                     
 
% This line won't show up in saved figure                                     
  
plot(linspace(0,1,10),linspace(0,1,10),'.k','markerfacecolor','k')            
  
plot(linspace(0,1,10),1.5*linspace(0,1,10),'sb','markerfacecolor','b')        
             
% Legend text also breaks in saved figure                                     
  
legend('one','one point five', 'two','location','northwest')                  
  
% Also happens for png                                                        
  
print('minimum.pdf')


Operating system info:
Ubuntu 16.04.3 LTS





    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Mon 22 Jan 2018 09:46:12 AM UTC  Name: minimum.m  Size: 337B   By: None
Minimum example and produced output.
<http://savannah.gnu.org/bugs/download.php?file_id=43013>
-------------------------------------------------------
Date: Mon 22 Jan 2018 09:46:12 AM UTC  Name: minimum.pdf  Size: 3KiB   By:
None
Minimum example and produced output.
<http://savannah.gnu.org/bugs/download.php?file_id=43014>

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?52946>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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