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

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

[Octave-bug-tracker] [bug #46496] Problems with legend background and la


From: Avinoam Kalma
Subject: [Octave-bug-tracker] [bug #46496] Problems with legend background and labels spacing
Date: Tue, 24 Nov 2015 06:51:45 +0000
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; rv:11.0) like Gecko

Follow-up Comment #2, bug #46496 (project octave):

The cause of extra space is in line 1784 of 
 __gnuplot_draw_axes__.m 


 spc = s / 10 * 1.25;


when font size is 16, the space is 2 instead of 1.25. The line


 spc = 1.25;


fix the extra space for gnuplot 4.6.7, but I do not know
what's happen in other versions of gnuplot. There is explanation in the code:

  ## The gnuplot default font size is 10, and default spacing is 1.25.
  ## gnuplot has a concept of a figure global font, and sizes everything
  ## appropriate to that, including the legend spacing.
  ##
  ## This means that if an alternative size is used, gnuplot will use an
  ## inappropriate spacing in the legend by default.
  ##
  ## FIXME: Are fractional spacing specifications allowed?  Or should this
  ##        number be rounded?





    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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