diff m-toolbox/test/test_LTPDAprefs_cl_set.m @ 0:f0afece42f48

Import.
author Daniele Nicolodi <nicolodi@science.unitn.it>
date Wed, 23 Nov 2011 19:22:13 +0100
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/m-toolbox/test/test_LTPDAprefs_cl_set.m	Wed Nov 23 19:22:13 2011 +0100
@@ -0,0 +1,30 @@
+% Check that direct setting of LTPDA preferences is working.
+% 
+% M Hewitson
+% 
+% $Id: test_LTPDAprefs_cl_set.m,v 1.1 2010/08/31 08:25:28 hewitson Exp $
+% 
+function test_LTPDAprefs_cl_set
+  
+  % Display
+  LTPDAprefs('Display', 'verboseLevel', LTPDAprefs.verboseLevel)
+  LTPDAprefs('Display', 'wrapstrings', LTPDAprefs.wrapStrings)
+  
+  % plot
+  LTPDAprefs('plot', 'axesFontSize', LTPDAprefs.axesFontSize);
+  LTPDAprefs('plot', 'axesFontWeight', LTPDAprefs.axesFontWeight);
+  LTPDAprefs('plot', 'axesLineWidth', LTPDAprefs.axesLineWidth);
+  LTPDAprefs('plot', 'lineLineWidth', LTPDAprefs.lineLineWidth);
+  LTPDAprefs('plot', 'lineMarkerSize', LTPDAprefs.lineMarkerSize);
+  LTPDAprefs('plot', 'gridStyle', LTPDAprefs.gridStyle);
+  LTPDAprefs('plot', 'minorGridStyle', LTPDAprefs.minorGridStyle);
+  
+  % time
+  LTPDAprefs('time', 'timezone', LTPDAprefs.timezone);
+  LTPDAprefs('time', 'timeformat', LTPDAprefs.timeformat);
+  
+  % misc
+  LTPDAprefs('misc', 'default_window', LTPDAprefs.default_window);
+  
+  
+end
\ No newline at end of file