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

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

[Octave-bug-tracker] [bug #50311] plot lines are not saved in a file whe


From: anonymous
Subject: [Octave-bug-tracker] [bug #50311] plot lines are not saved in a file when scatterplot with filled markers are on the top
Date: Wed, 15 Feb 2017 04:48:48 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) QupZilla/2.1.0 Chrome/53.0.2785.148 Safari/537.36

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

                 Summary: plot lines are not saved in a file when scatterplot
with filled markers are on the top
                 Project: GNU Octave
            Submitted by: None
            Submitted on: Wed 15 Feb 2017 09:48:47 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
         Discussion Lock: Any
                 Release: 4.0.2
        Operating System: GNU/Linux

    _______________________________________________________

Details:

I was using this simple code to make a line plot with a scatter plot on top,
but when filled markers are used only some parts of the figure are saved in a
file, grid lines, plot, legend frame, and colorbar filling are missing. When
'filled' property is removed everything works as supposed. 
I checked different file formats, the result is always the same. In eps plot
lines are not hidden in the back, they are not saved at all.


x=0:0.1:100;
y=sin(x);
z=cos(x./10);
figure; hold on; plot(x,y); s1=scatter(x,z,8,y,'filled'); 
grid on; colorbar;
legend(s1,'plot'); title('title');
print('test_plot','-dpng')




    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Wed 15 Feb 2017 09:48:47 AM UTC  Name: test_plot.png  Size: 97kB   By:
None
saved figures
<http://savannah.gnu.org/bugs/download.php?file_id=39759>
-------------------------------------------------------
Date: Wed 15 Feb 2017 09:48:47 AM UTC  Name: test_plot_no_filled.png  Size:
180kB   By: None
saved figures
<http://savannah.gnu.org/bugs/download.php?file_id=39760>

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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