IRootLab
An Open-Source MATLAB toolbox for vibrational biospectroscopy
Main Page
Related Pages
Modules
Classes
Files
File List
File Members
make_axis_gray.m
Go to the documentation of this file.
1
%> @file
2
%> @ingroup graphicsapi
3
%> @brief Makes current axis gray
4
%>
5
%> I didn
't implement an axis input parameter because the function also needs the figure handle,
6
%> so I decided just to go for the current axis and figure.
7
function make_axis_gray()
8
color_ = 1.15*[0.8314 0.8157 0.7843];
9
set(gca, '
color
', color_);
10
set(gcf, '
InvertHardCopy
', '
off
'); % This is apparently needed to preserve the gray background
11
set(gcf, '
color
', [1, 1, 1]);
12
13
14
m
misc
graphicsapi
make_axis_gray.m
Generated on Tue May 19 2015 20:46:05 for IRootLab by
1.8.9.1