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

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

[Octave-bug-tracker] [bug #48161] printing a plotyy plot only shows the


From: Pantxo Diribarne
Subject: [Octave-bug-tracker] [bug #48161] printing a plotyy plot only shows the second axes
Date: Thu, 9 Jun 2016 14:45:32 +0000 (UTC)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:46.0) Gecko/20100101 Firefox/46.0

Follow-up Comment #5, bug #48161 (project octave):

So I had the following tested in ML 2016a:


x = linspace (0, 2*pi, 100);
plot (x, sin (x))
set (gca, 'Color', 'g')
print -depsc toto.eps
set (gca, 'Color', 'none')
print -depsc toto2.eps


I imported the eps files in Inkscape and saw that indeed when the axes
background is not 'none' ML changes it to white for printing (as stated in the
documentation); but when the background is none then it is not drawn. 

Also, playing with "plotyy" in ML I saw that only the second axes has its
background color "none", whereas in Octave it is "none" for both.

Something like the attached patch should work and be ML compatible.

 

(file #37439)
    _______________________________________________________

Additional Item Attachment:

File name: plotyy.patch                   Size:1 KB


    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Message posté via/par Savannah
  http://savannah.gnu.org/




reply via email to

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