Mercurial > hg > ltpda
view m-toolbox/classes/+utils/@plottools/backupDefaultPlotSettings.m @ 33:5e7477b94d94 database-connection-manager
Add known repositories list to LTPDAPreferences
author | Daniele Nicolodi <nicolodi@science.unitn.it> |
---|---|
date | Mon, 05 Dec 2011 16:20:06 +0100 |
parents | f0afece42f48 |
children |
line wrap: on
line source
% BACKUPDEFAULTPLOTSETTINGS Backup the current default plot settings. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % DESCRIPTION: BACKUPDEFAULTPLOTSETTINGS Backup the current default plot % settings. This method will store the current setting in the % application data 'defaultPlotSettings'. % % CALL: backupDefaultPlotSettings() % % VERSION: $Id: backupDefaultPlotSettings.m,v 1.1 2011/02/08 06:12:03 ingo Exp $ % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% function backupDefaultPlotSettings() defaultPlotSettings.DefaultAxesFontSize = get(0, 'DefaultAxesFontSize'); defaultPlotSettings.DefaultAxesLineWidth = get(0, 'DefaultAxesLineWidth'); defaultPlotSettings.DefaultLineLineWidth = get(0, 'DefaultLineLineWidth'); defaultPlotSettings.DefaultLineMarkerSize = get(0, 'DefaultLineMarkerSize'); defaultPlotSettings.DefaultAxesGridLineStyle = get(0, 'DefaultAxesGridLineStyle'); defaultPlotSettings.DefaultAxesMinorGridLineStyle = get(0, 'DefaultAxesMinorGridLineStyle'); defaultPlotSettings.DefaultAxesFontWeight = get(0, 'DefaultAxesFontWeight'); setappdata(0, 'defaultPlotSettings', defaultPlotSettings); end