function [f,c,m] = tempConvFig
% user interface window for temperature converter
fig = figure(1); %! Create figure
set(fig,'units', 'centimeters', ...
    'position', [5,5,5,3], ... %! Set size and position
    'menubar', 'none');
f = uicontrol('style', 'edit', ... %! Create editable display
    'units', 'centimeters', 'position', ...
    [.5, 2, 2.5, .5], 'string', '') ;
flabel = uicontrol('style', 'text', ... %! Label for F box
    'units', 'centimeters', 'position', ...
    [3.25, 2, 1, .5], 'string', 'Fahr') ;
c = uicontrol('style', 'edit', ... %! Create editable display
    'units', 'centimeters', 'position', ...
    [.5, 1.25, 2.5, .5], 'string', '') ;
clabel = uicontrol('style', 'text', ... %! Label for C box
    'units', 'centimeters', 'position', ...
    [3.25, 1.25, 1, .5], 'string', 'Celsius') ;
m = uicontrol('style', 'text', ... %! Display for messages
    'units', 'centimeters', ...
    'position', [.5, .5, 4, .5], ...
    'string', '', 'ForegroundColor', [1, 0, 0]) ;