function hvfo(cslice_index)

load hvfo                              

a = figure('Units','normalized', ...
    'CloseRequestFcn', '', ...
    'Color',[0.8 0.8 0.8], ...
    'Colormap',mat0, ...
    'MenuBar','none', ...
    'Name', sprintf ( 'cslice %d:  horizontal velocity overlay', cslice_index ), ...
    'Position',[0.717969 0.243164 0.260156 0.379883], ...
    'Tag', sprintf ( 'hvfo figure %d', cslice_index ), ...
    'Visible','off');
b = uicontrol('Parent',a, ...
    'Units','normalized', ...
    'BackgroundColor',[0.70196 0.70196 0.70196], ...
    'Position',[0.0541667 0.0479167 0.4 0.91875], ...
    'Style','frame', ...
    'Tag','Color Frame');
b = uicontrol('Parent',a, ...
    'Units','normalized', ...
    'BackgroundColor',[0.70196 0.70196 0.70196], ...
    'Position',[0.55 0.0479167 0.4 0.91875], ...
    'Style','frame', ...
    'Tag','Other Frame');
b = uicontrol('Parent',a, ...
    'Units','normalized', ...
    'BackgroundColor',[0.70196 0.70196 0.70196], ...
    'Callback','hvfo_command arrow_color', ...
    'Position',[0.054054 0.721366 0.3994 0.095116], ...
    'String','black', ...
    'Style','radiobutton', ...
    'Tag','black');
b = uicontrol('Parent',a, ...
    'Units','normalized', ...
    'BackgroundColor',[0.70196 0.70196 0.70196], ...
    'Callback','hvfo_command arrow_color', ...
    'Position',[0.057057 0.62625 0.3994 0.095116], ...
    'String','white', ...
    'Style','radiobutton', ...
    'Tag','white', ...
    'Value',1);
b = uicontrol('Parent',a, ...
    'Units','normalized', ...
    'Callback','hvfo_command arrow_color', ...
    'Position',[0.0541667 0.53125 0.4 0.095], ...
    'String','red', ...
    'Style','radiobutton', ...
    'Tag','red');
b = uicontrol('Parent',a, ...
    'Units','normalized', ...
    'Callback','hvfo_command arrow_color', ...
    'Position',[0.0541667 0.43625 0.4 0.095], ...
    'String','green', ...
    'Style','radiobutton', ...
    'Tag','green');
b = uicontrol('Parent',a, ...
    'Units','normalized', ...
    'Callback','hvfo_command arrow_color', ...
    'Position',[0.0541667 0.34125 0.4 0.095], ...
    'String','blue', ...
    'Style','radiobutton', ...
    'Tag','blue');
b = uicontrol('Parent',a, ...
    'Units','normalized', ...
    'Callback','hvfo_command arrow_color', ...
    'Position',[0.0541667 0.24625 0.4 0.095], ...
    'String','cyan', ...
    'Style','radiobutton', ...
    'Tag','cyan');
b = uicontrol('Parent',a, ...
    'Units','normalized', ...
    'Callback','hvfo_command arrow_color', ...
    'Position',[0.0541667 0.15125 0.4 0.095], ...
    'String','yellow', ...
    'Style','radiobutton', ...
    'Tag','magenta');
b = uicontrol('Parent',a, ...
    'Units','normalized', ...
    'BackgroundColor',[0.70196 0.70196 0.70196], ...
    'Callback','hvfo_command arrow_color', ...
    'Position',[0.0541667 0.05625 0.4 0.095], ...
    'String','magenta', ...
    'Style','radiobutton', ...
    'Tag','magenta');
b = uicontrol('Parent',a, ...
    'Units','normalized', ...
    'BackgroundColor',[0.70196 0.70196 0.70196], ...
    'FontSize',12, ...
    'Position',[0.0840841 0.816482 0.321321 0.0771208], ...
    'String','Arrow Color', ...
    'Style','text', ...
    'Tag','StaticText1');
b = uicontrol('Parent',a, ...
    'Units','normalized', ...
    'BackgroundColor',[0.70196 0.70196 0.70196], ...
    'Position',[0.565 0.69923 0.37 0.25193], ...
    'String','Sampling', ...
    'Style','frame', ...
    'Tag','Sampling Frame');
b = uicontrol('Parent',a, ...
    'Units','normalized', ...
    'BackgroundColor',[0.70196 0.70196 0.70196], ...
    'FontSize',12, ...
    'Position',[0.63024 0.85641 0.23952 0.05], ...
    'String','Sampling', ...
    'Style','text', ...
    'Tag','Sampling Text');
b = uicontrol('Parent',a, ...
    'Units','normalized', ...
    'BackgroundColor',[1 1 1], ...
    'Callback','hvfo_command sample_edit', ...
    'Position',[0.624251 0.802564 0.251497 0.05], ...
    'String','1', ...
    'Style','edit', ...
    'Tag','Sampling Edit Box');
b = uicontrol('Parent',a, ...
    'Units','normalized', ...
    'BackgroundColor',[0.70196 0.70196 0.70196], ...
    'Callback','hvfo_command sample_slider', ...
    'Max',20, ...
    'Position',[0.624251 0.725641 0.251497 0.05], ...
    'String','Sampling', ...
    'Style','slider', ...
    'Tag','Sampling Slider', ...
    'Value',1);
b = uicontrol('Parent',a, ...
    'Units','normalized', ...
    'BackgroundColor',[0.70196 0.70196 0.70196], ...
    'Position',[0.565 0.42051 0.37 0.2531], ...
    'String','Arrow', ...
    'Style','frame', ...
    'Tag','Arrow Frame');
b = uicontrol('Parent',a, ...
    'Units','normalized', ...
    'BackgroundColor',[0.70196 0.70196 0.70196], ...
    'Callback','hvfo_command set_show_arrows', ...
    'Position',[0.565 0.23594 0.37 0.17083], ...
    'String','Show Arrows', ...
    'Style','radiobutton', ...
    'Tag','Show Arrows', ...
    'Value', 0);
b = uicontrol('Parent',a, ...
    'Units','normalized', ...
    'BackgroundColor',[0.70196 0.70196 0.70196], ...
    'Callback','hvfo_command close_window', ...
    'Position',[0.565 0.054167 0.37 0.17083], ...
    'String','Hide Window', ...
    'Tag','hvfo hide');
b = uicontrol('Parent',a, ...
    'Units','normalized', ...
    'FontSize',12, ...
    'Position',[0.594311 0.594872 0.311377 0.0435897], ...
    'String','Arrow Scale', ...
    'Style','text', ...
    'Tag','Arrow Text');
b = uicontrol('Parent',a, ...
    'Units','normalized', ...
    'BackgroundColor',[1 1 1], ...
    'Callback','hvfo_command arrow_edit', ...
    'Position',[0.624251 0.528205 0.251497 0.0512821], ...
    'String','1', ...
    'Style','edit', ...
    'Tag','Arrow Edit Box', ...
    'Value',1);
b = uicontrol('Parent',a, ...
    'Units','normalized', ...
    'BackgroundColor',[0.70196 0.70196 0.70196], ...
    'Callback','hvfo_command arrow_slider', ...
    'Max',40, ...
    'Position',[0.624251 0.451282 0.251497 0.0512821], ...
    'String','Arrow', ...
    'Style','slider', ...
    'Tag','Arrow Slider', ...
    'Value',1);
