octave-maintainers
[Top][All Lists]
Advanced

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

leftover code in __go_draw_axes__.m


From: logari81
Subject: leftover code in __go_draw_axes__.m
Date: Wed, 03 Nov 2010 14:28:23 +0100

I have noticed the following snippet in scripts/plot/__go_draw_axes__.m
lines 62-69:

     if (strcmp (axis_obj.dataaspectratiomode, "manual")
        && strcmp (axis_obj.xlimmode, "manual")
        && strcmp (axis_obj.ylimmode, "manual")
        && (nd == 2 || all (mod (axis_obj.view, 90) == 0)))
      ## FIXME - adjust plotboxaspectratio to respect other
      fpos = get (axis_obj.parent, "position");
      apos = axis_obj.position;
    endif

which is probably some kind of leftover code. As far as I understand
neither fpos nor apos is used anywhere. If this is true, this part could
be removed.

Best regards,

Kostas



reply via email to

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