function pf = getpixunit
%GETPIXUNIT   Get the pixel unit.

%   Author(s): J. Sun
%   Copyright 2006-2012 The MathWorks, Inc.
%     

% Get the pixel unit
if isunix,
    pf = 1;
else
    pf = get(0,'screenpixelsperinch')/96;
end

% [EOF]
