[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: leftover code in __go_draw_axes__.m
From: |
Ben Abbott |
Subject: |
Re: leftover code in __go_draw_axes__.m |
Date: |
Wed, 03 Nov 2010 21:38:53 +0800 |
On Nov 3, 2010, at 9:28 PM, logari81 wrote:
> 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
>
Yes. It should be removed.
Ben