comparison scripts/plot/appearance/axis.m @ 18891:7bbe3658c5ef

maint: Use "FIXME:" coding convention in m-files. * flipdim.m, prepad.m, rotdim.m, doc.m, strread.m, textread.m, krylov.m, colon.m, dump_prefs.m, fileattrib.m, getappdata.m, __xzip__.m, unpack.m, fsolve.m, axis.m, meshc.m, print.m, __ghostscript__.m, __go_draw_axes__.m, __print_parse_opts__.m, struct2hdl.m, unique.m, spstats.m, treeplot.m, test.m, datestr.m: Use "FIXME:" coding convention in m-files.
author Rik <rik@octave.org>
date Wed, 25 Jun 2014 13:45:41 -0700
parents 78fac67300e8
children 0e1f5a750d00
comparison
equal deleted inserted replaced
18890:de8c67ba7ac4 18891:7bbe3658c5ef
192 elseif (strcmpi (ax, "square")) 192 elseif (strcmpi (ax, "square"))
193 set (ca, "dataaspectratiomode", "auto", 193 set (ca, "dataaspectratiomode", "auto",
194 "plotboxaspectratio", [1, 1, 1]); 194 "plotboxaspectratio", [1, 1, 1]);
195 elseif (strcmp (ax, "equal")) 195 elseif (strcmp (ax, "equal"))
196 if (strcmp (get (get (ca, "parent"), "__graphics_toolkit__"), "gnuplot")) 196 if (strcmp (get (get (ca, "parent"), "__graphics_toolkit__"), "gnuplot"))
197 ## FIXME - gnuplot applies the aspect ratio activepostionproperty. 197 ## FIXME: gnuplot applies the aspect ratio activepostionproperty.
198 set (ca, "activepositionproperty", "position"); 198 set (ca, "activepositionproperty", "position");
199 ## The following line is a trick used to trigger the recalculation of 199 ## The following line is a trick used to trigger the recalculation of
200 ## aspect related magnitudes even if the aspect ratio is the same 200 ## aspect related magnitudes even if the aspect ratio is the same
201 ## (useful with the x11 gnuplot terminal after a window resize) 201 ## (useful with the x11 gnuplot terminal after a window resize)
202 set (ca, "dataaspectratiomode", "auto"); 202 set (ca, "dataaspectratiomode", "auto");