


plot boundary curve Syntax: objectHandle = viewBoundary(boundaryStruct) Plot boundary curve obtained by viewBnd. See also: obtainBnd, viewBoundaryShape, fitShapeBnd


0001 function h = viewBoundary(bnd) 0002 % plot boundary curve 0003 % 0004 % Syntax: objectHandle = viewBoundary(boundaryStruct) 0005 % 0006 % Plot boundary curve obtained by viewBnd. 0007 % 0008 % See also: obtainBnd, viewBoundaryShape, fitShapeBnd 0009 0010 % The elk-library: convex geometry applied to crystallization modeling. 0011 % Copyright (C) 2012 Alexander Reinhold 0012 % 0013 % This program is free software: you can redistribute it and/or modify it 0014 % under the terms of the GNU General Public License as published by the 0015 % Free Software Foundation, either version 3 of the License, or (at your 0016 % option) any later version. 0017 % 0018 % This program is distributed in the hope that it will be useful, but 0019 % WITHOUT ANY WARRANTY; without even the implied warranty of 0020 % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 0021 % General Public License for more details. 0022 % 0023 % You should have received a copy of the GNU General Public License along 0024 % with this program. If not, see <http://www.gnu.org/licenses/> 0025 0026 h = plot(bnd.cartX, bnd.cartY, 'b-', 'color', [1 1 1]*0.5, 'lineWidth', 5); 0027 set(gca, 'dataAspectRatio', [1 1 1]);