IRootLab
An Open-Source MATLAB toolbox for vibrational biospectroscopy
draw_hint_curve.m
Go to the documentation of this file.
1 %>@ingroup graphicsapi
2 %>@file
3 %>@brief Draws hint curve
4 %>
5 %> Default color is black and default line style is dashed. Default line width is <code>scaled(1)</code>.
6 %
7 %> @param x
8 %> @param y
9 %> @param color
10 %> @return o Handle returned by plot()
11 function o = draw_hint_curve(x, y, color)
12 fig_assert();
13 global SCALE;
14 
15 if ~exist('color', 'var')
16  color = 'k--';
17 end;
18 o = plot(x, y, color, 'LineWidth', scaled(1));
19 
function draw_hint_curve(in x, in y, in color)
function scaled(in i)
function fig_assert()