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

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

[Octave-bug-tracker] [bug #31176] Label subscript and superscript positi


From: anonymous
Subject: [Octave-bug-tracker] [bug #31176] Label subscript and superscript positioning/resize anchor/refresh problem
Date: Thu, 02 Dec 2010 16:05:54 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.12) Gecko/20101026 Firefox/3.6.12

Follow-up Comment #3, bug #31176 (project octave):

I uploaded a series of screen captures illustrating the problems described in
the original post (except for the consequence of the 'refresh' command, which
would just be a consequence of fresh layout subject to the errors described in
points 1 and 2).

Rik: The code difference in point 1) is that there is a space after the
subscript (ending the label text) for the second code snippet.  This renders
properly on this webpage for me.

The bits of code used to produce the attached screen captures are:
0-0:

plot(1:10);


1-1:

plot(1:10);
xlabel('all text is made smaller_0');


1-2:

plot(1:10);
xlabel('all text is made smaller_0 ');


2-1:

plot(1:10);
ylabel('subscript overlaps this text_0 this too');


3-1, 3-2, and 3-3:

plot(1:10);
ylabel('subscript overlaps this text_0 this too');
xlabel('all text is made smaller_0 is made smaller');


The difference in the charts for point 3 is the manual resizing of the plot
window (by clicking and dragging with the mouse).  The 'blocks' of code seem
anchored at their left edge at fixed axis values, e.g. approximately x=3 for
the first block of the xlabel and x=5 for the second block of the xlabel.  In
contrast, with Matlab there is a single anchor for the entire label, and its
value is adjusted when the window is resized, so that resizing produces a
graph with optimal layout.

Ben: those commands return "*" (an asterisk) for fontname, and "12" for
fontsize.



    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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