[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #46651] title in surfl mis-positioned in subpl
From: |
Ben Abbott |
Subject: |
[Octave-bug-tracker] [bug #46651] title in surfl mis-positioned in subplot with gnuplot |
Date: |
Sun, 24 Jul 2016 18:53:19 +0000 (UTC) |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_5) AppleWebKit/601.6.17 (KHTML, like Gecko) Version/9.1.1 Safari/601.6.17 |
Follow-up Comment #8, bug #46651 (project octave):
Looks like this is the part from the changeset you referenced that impacts the
position of the title string.
address@hidden 174 else
address@hidden 175 ## Change meaning of "normalized", but it at least
gives user some control
address@hidden 176 if (! strcmp (get (axis_obj.title, "units"),
"normalized"))
address@hidden 177 unwind_protect
address@hidden 178 set (axis_obj.title, "units", "normalized");
address@hidden 179 set (axis_obj.title, "position", [0.5 1.02
0.5]);
address@hidden 180 unwind_protect_cleanup
address@hidden 181 end_unwind_protect
address@hidden 182 endif
address@hidden 183 t = get(axis_obj.title);
address@hidden 184 axispos = axis_obj.position;
address@hidden 185 screenpos = t.position;
address@hidden 186 screenpos(1) = axispos(1)+screenpos(1)*axispos(3);
address@hidden 187 screenpos(2) = axispos(2)+screenpos(2)*axispos(4);
address@hidden 188 fputs (plot_stream, "unset title;\n");
address@hidden 189 do_text (plot_stream, gnuplot_term, enhanced, t,
nd,
screens);
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?46651>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/