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

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

[Octave-bug-tracker] [bug #53737] printing to svg gives error and no plo


From: Rik
Subject: [Octave-bug-tracker] [bug #53737] printing to svg gives error and no plot with gnuplot 5.2
Date: Tue, 24 Apr 2018 15:56:02 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:55.0) Gecko/20100101 Firefox/55.0

Follow-up Comment #20, bug #53737 (project octave):

@Dan: I wasn't favoring condensing, only using the same code.  What I had in
mind was that the code under the case statement for "pdf" would be copied
wholesale to be under "svg".

I don't see any reason why the font size can't be a floating point number
(https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/font-size).  I
agree with removing the restriction to round the font size.

Someone with gnuplot 5.2 will have to test your patch.

The option that is forcing the background to be white is the figure property
"inverthardcopy".  As a test case, try this.


close all
graphics_toolkit gnuplot
plot (1:10, 'o-r')
set (gca, "color", "b")
set (gcf, "color", "m", "inverthardcopy", false)
print tst.png


The axes is now correctly colored, but the figure is still white.  I'll file a
separate bug report about that.


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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