Mercurial > hg > ltpda
comparison m-toolbox/classes/+utils/@plottools/backupDefaultPlotSettings.m @ 0:f0afece42f48
Import.
author | Daniele Nicolodi <nicolodi@science.unitn.it> |
---|---|
date | Wed, 23 Nov 2011 19:22:13 +0100 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:f0afece42f48 |
---|---|
1 % BACKUPDEFAULTPLOTSETTINGS Backup the current default plot settings. | |
2 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
3 % | |
4 % DESCRIPTION: BACKUPDEFAULTPLOTSETTINGS Backup the current default plot | |
5 % settings. This method will store the current setting in the | |
6 % application data 'defaultPlotSettings'. | |
7 % | |
8 % CALL: backupDefaultPlotSettings() | |
9 % | |
10 % VERSION: $Id: backupDefaultPlotSettings.m,v 1.1 2011/02/08 06:12:03 ingo Exp $ | |
11 % | |
12 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
13 | |
14 function backupDefaultPlotSettings() | |
15 | |
16 defaultPlotSettings.DefaultAxesFontSize = get(0, 'DefaultAxesFontSize'); | |
17 defaultPlotSettings.DefaultAxesLineWidth = get(0, 'DefaultAxesLineWidth'); | |
18 defaultPlotSettings.DefaultLineLineWidth = get(0, 'DefaultLineLineWidth'); | |
19 defaultPlotSettings.DefaultLineMarkerSize = get(0, 'DefaultLineMarkerSize'); | |
20 defaultPlotSettings.DefaultAxesGridLineStyle = get(0, 'DefaultAxesGridLineStyle'); | |
21 defaultPlotSettings.DefaultAxesMinorGridLineStyle = get(0, 'DefaultAxesMinorGridLineStyle'); | |
22 defaultPlotSettings.DefaultAxesFontWeight = get(0, 'DefaultAxesFontWeight'); | |
23 setappdata(0, 'defaultPlotSettings', defaultPlotSettings); | |
24 | |
25 end |