[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #51772] Errors when running compare_plot_demos
From: |
Dan Sebald |
Subject: |
[Octave-bug-tracker] [bug #51772] Errors when running compare_plot_demos with gnuplot toolkit on Windows |
Date: |
Thu, 17 Aug 2017 14:24:48 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0 |
Follow-up Comment #3, bug #51772 (project octave):
The line of script that generates the origin/size in __gnuplot_draw_axes__.m
is the following:
pos = __actual_axis_position__ (h);
[snip]
else ## activepositionproperty == outerposition
fprintf (plot_stream, "unset tmargin;\n");
fprintf (plot_stream, "unset bmargin;\n");
fprintf (plot_stream, "unset lmargin;\n");
fprintf (plot_stream, "unset rmargin;\n");
fprintf (plot_stream, "set origin %g, %g;\n", pos(1:2));
if (strcmp (axis_obj.dataaspectratiomode, "manual"))
sz_str = sprintf ("ratio %g", -dr);
else
sz_str = "noratio";
endif
sz_str = sprintf ("set size %s %g, %g;\n", sz_str, pos(3:4));
My recollection is that the __actual_axis_position__ (h) was a bit tricky and
did not always produce good results. When I find time, I will look into this
more closely. I searched past email for reference though and found these:
https://savannah.gnu.org/bugs/?48427#comment13
https://savannah.gnu.org/bugs/?47974#comment21
https://savannah.gnu.org/bugs/?47974#comment23
https://savannah.gnu.org/bugs/?47974#comment27
https://savannah.gnu.org/bugs/?47974#comment52
https://savannah.gnu.org/bugs/?47974#comment55
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?51772>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/