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: anonymous
Subject: [Octave-bug-tracker] [bug #34148] Subplots with gnuplot overlap with plotyy
Date: Sun, 28 Aug 2011 08:10:00 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-GB; rv:1.9.2.20) Gecko/20110822 Gentoo

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

This clearly a difference between the two backends but I'm not sure this can
be attributed to gnuplot uncertainly in text extents as I earlier suggested.
Such errors tend only to be around 10% in extent. 

What I see here is misplacement of successive graphs in the ensemble. Note y2
label is totally on top of next y1 ticmarks.

This suggests that the size and presence of y2 label is not accounted for. I
also notice, as it draws, that the layout and plots are up before the y2
labels are added. Spacing would be correct if there was no y2. This again
suggests y2 is not taken into account in planning the subplot layout.

Similarly , as I reported, though not in my example plot , xlabel overwrites
the next graph's title.

This definitely looks like an octave bug in using gnuplot rather than
inaccuracy in gnuplots calculated text extents.


# demonstrate octave.plotyy()  overlay errors with gnuplot


y=x=[1:10];

for rc=[3:6]
 subplot (3,3,rc);

 axis([0,10,0,10]);
 plotyy(x,y,x,y);
 title("title");
 ylabel("ylabel");
 xlabel("xlabel");
end; # for rc

    _______________________________________________________

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]