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

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

[Octave-bug-tracker] [bug #34148] Subplots with gnuplot overlap with plo


From: Ben Abbott
Subject: [Octave-bug-tracker] [bug #34148] Subplots with gnuplot overlap with plotyy
Date: Thu, 01 Sep 2011 17:45:57 +0000
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_1) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.218 Safari/535.1

Follow-up Comment #19, bug #34148 (project octave):

For Matlab type behavior, please use the FLTK backend.

The problem with the gnuplot backend is well understood by the developers.
Several of us have worked on improving this particular aspect, but ultimately
gave up (it is much more complicated that it first appears).

The basic problem is there exists no method to reliably determine the
textextents when using gnuplot. Some reasonable approximation can be made in
common situations, but they fail miserably when using TeX style strings.

Also it is important to understand that gnuplot will often substitute a font
it one is requested that it doesn't recognize. In addition, each of gnuplot's
terminal types are responsible for the positioningin of text. Meaning x11,
wxt, aqua, postscript, pdf, png, gif, etc ... each place the tick labels and
axes labels a different distance from the plot box (and that the postion of
these labels are not available to us).

For this particular problem, I recommend a work around. Which is to switch the
activepositionproperty for each axes to the "outerpostion". This allows
gnuplot to handle the details. Take a loot at ...


demo ("subplot", 1)
set (findall (gcf, "type", "axes"), "activepositionproperty",
"outerposition")


However, this will not work well when using plotyy.


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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