# HG changeset patch # User Rik # Date 1399320857 25200 # Node ID 65f19ac3cd1bace5fd80a27d0e0489391e7feb01 # Parent d1750be79dee2c746542a7c62971006f66e7ee15 linkaxes.m: Trim extra spaces at EOL. * linkaxes.m: Trim extra spaces at EOL. diff -r d1750be79dee -r 65f19ac3cd1b scripts/plot/util/linkaxes.m --- a/scripts/plot/util/linkaxes.m Tue Mar 18 13:05:40 2014 -0700 +++ b/scripts/plot/util/linkaxes.m Mon May 05 13:14:17 2014 -0700 @@ -1,5 +1,5 @@ ## Copyright (C) 2014 Willem Atsma -## +## ## This file is part of Octave. ## ## Octave is free software; you can redistribute it and/or modify it @@ -16,10 +16,10 @@ ## along with Octave; see the file COPYING. If not, see ## . -## -*- texinfo -*- +## -*- texinfo -*- ## @deftypefn {Function File} linkaxes (@var{hax}) ## @deftypefnx {Function File} linkaxes (@var{hax}, @var{optstr}) -## Link the axis limits of 2-D plots such that a change in one is +## Link the axis limits of 2-D plots such that a change in one is ## propagated to the others. ## ## The axes handles to be linked are passed as the first argument @var{hax}. @@ -72,12 +72,12 @@ hld = get (hax(i), "linkaxes_data"); try rmappdata (hld, "linkprop_data"); - end_try_catch + end_try_catch else addproperty ("linkaxes_data", hax(i), "any"); endif endfor - + switch (optstr) case "x" hlink = linkprop (hax, "xlim"); @@ -91,12 +91,12 @@ otherwise error ("linkaxes: unrecognized OPTSTR '%s'", optstr); endswitch - + if (! isempty (hlink)) setappdata (hax(1), "linkprop_data", hlink); set (hax, "linkaxes_data", hax(1)); else - set (hax, "linkaxes_data", []); + set (hax, "linkaxes_data", []); endif endfunction