Mercurial > hg > ltpda
view m-toolbox/classes/@LTPDAprefs/setApplicationData.m @ 2:18e956c96a1b database-connection-manager
Add LTPDADatabaseConnectionManager implementation. Matlab code
author | Daniele Nicolodi <nicolodi@science.unitn.it> |
---|---|
date | Sun, 04 Dec 2011 21:23:09 +0100 |
parents | f0afece42f48 |
children |
line wrap: on
line source
% SETAPPLICATIONDATA sets the application data from the preferences object. % % Call: LTPDAprefs.setApplicationData() % % Parameters: % prefs - preferences object % % Version: % $Id: setApplicationData.m,v 1.1 2010/11/30 17:39:03 ingo Exp $ % function setApplicationData() set(0,'DefaultAxesFontSize', LTPDAprefs.axesFontSize); set(0,'DefaultAxesLineWidth', LTPDAprefs.axesLineWidth); set(0,'DefaultLineLineWidth', LTPDAprefs.lineLineWidth); set(0,'defaultlinemarkersize', LTPDAprefs.lineMarkerSize); set(0,'DefaultAxesGridLineStyle', LTPDAprefs.gridStyle); set(0,'DefaultAxesMinorGridLineStyle', LTPDAprefs.minorGridStyle); val = LTPDAprefs.axesFontWeight; if strcmpi(val, 'Plain') set(0, 'DefaultAxesFontWeight', 'normal'); elseif strcmpi(val, 'Bold') set(0, 'DefaultAxesFontWeight', 'bold'); elseif strcmpi(val, 'Italic') set(0, 'DefaultAxesFontWeight', 'light'); elseif strcmpi(val, 'Bold Italic') set(0, 'DefaultAxesFontWeight', 'demi'); else error('### Unknown value (%s) for the default axes property ''FontWeight''', char(val)); end end