source: trunk/src/uvmat_doc/FUNCTIONS_DOC/set_title.html @ 37

Last change on this file since 37 was 37, checked in by sommeria, 14 years ago

create_grid.fig ,
uvmat_doc and all the included files added

File size: 6.0 KB
Line 
1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
2                "http://www.w3.org/TR/REC-html40/loose.dtd">
3<html>
4<head>
5  <title>Description of set_title</title>
6  <meta name="keywords" content="set_title">
7  <meta name="description" content="'set_title': defines the 'TITLE' of a projection object">
8  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
9  <meta name="generator" content="m2html &copy; 2003 Guillaume Flandin">
10  <meta name="robots" content="index, follow">
11  <link type="text/css" rel="stylesheet" href="../m2html.css">
12</head>
13<body>
14<a name="_top"></a>
15<div><a href="../index.html">Home</a> &gt;  <a href="index.html">.</a> &gt; set_title.m</div>
16
17<!--<table width="100%"><tr><td align="left"><a href="../index.html"><img alt="<" border="0" src="../left.png">&nbsp;Master index</a></td>
18<td align="right"><a href="index.html">Index for .&nbsp;<img alt=">" border="0" src="../right.png"></a></td></tr></table>-->
19
20<h1>set_title
21</h1>
22
23<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../up.png"></a></h2>
24<div class="box"><strong>'set_title': defines the 'TITLE' of a projection object</strong></div>
25
26<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../up.png"></a></h2>
27<div class="box"><strong>function TITLE=set_title(Style,ProjMode) </strong></div>
28
29<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../up.png"></a></h2>
30<div class="fragment"><pre class="comment">'set_title': defines the 'TITLE' of a projection object
31-----------------------------------------------------------
32 function TITLE=set_title(Style,ProjMode)
33 OUTPUT:
34    TITLE: char string defining the title
35
36 INPUT:
37    Style: char string defining the style of the projection opbject
38    ProjMode:  char string defining the projection mode
39------------------------------------------------
40------------------------------------------------</pre></div>
41
42<!-- crossreference -->
43<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../up.png"></a></h2>
44This function calls:
45<ul style="list-style-image:url(../matlabicon.gif)">
46</ul>
47This function is called by:
48<ul style="list-style-image:url(../matlabicon.gif)">
49<li><a href="mouse_down.html" class="code" title="function xy=mouse_down(hObject,eventdata)">mouse_down</a>     'mouse_down': function activated when the mouse button is pressed on a figure (callback for 'WindowButtonDownFcn'</li><li><a href="plot_field.html" class="code" title="function [PlotType,PlotParamOut,haxes]= plot_field(Data,haxes,PlotParam,KeepLim,PosColorbar)">plot_field</a>    'plot_field': plot any field with the structure defined in the uvmat package</li><li><a href="set_grid.html" class="code" title="function varargout = set_grid(varargin)">set_grid</a>  'set_grid':produce grid for PIV with one or two images (stereo case)</li><li><a href="set_object.html" class="code" title="function varargout = set_object(varargin)">set_object</a>    'set_object': GUI to edit a projection object</li><li><a href="update_obj.html" class="code" title="function Object_out=update_obj(UvData,IndexObj,ObjectData,PlotHandles)">update_obj</a>      'update_obj': update the object graph representation and its projection field, record it in the uvmat interface</li></ul>
50<!-- crossreference -->
51
52
53<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../up.png"></a></h2>
54<div class="fragment"><pre>0001 <span class="comment">%'set_title': defines the 'TITLE' of a projection object</span>
550002 <span class="comment">%-----------------------------------------------------------</span>
560003 <span class="comment">% function TITLE=set_title(Style,ProjMode)</span>
570004 <span class="comment">% OUTPUT:</span>
580005 <span class="comment">%    TITLE: char string defining the title</span>
590006 <span class="comment">%</span>
600007 <span class="comment">% INPUT:</span>
610008 <span class="comment">%    Style: char string defining the style of the projection opbject</span>
620009 <span class="comment">%    ProjMode:  char string defining the projection mode</span>
630010 <span class="comment">%------------------------------------------------</span>
640011 <a name="_sub0" href="#_subfunctions" class="code">function TITLE=set_title(Style,ProjMode)</a>
650012 <span class="comment">%------------------------------------------------</span>
660013 TITLE=[]; <span class="comment">%default</span>
670014 <span class="keyword">if</span> isequal(Style,<span class="string">'points'</span>)
680015     TITLE=<span class="string">'POINTS'</span>;
690016 <span class="keyword">elseif</span> isequal(Style,<span class="string">'line'</span>)|isequal(Style,<span class="string">'polyline'</span>)
700017     TITLE=<span class="string">'LINE'</span>;
710018 <span class="keyword">elseif</span> isequal(Style,<span class="string">'plane'</span>)
720019     TITLE=<span class="string">'PLANE'</span>;
730020 <span class="keyword">elseif</span> isequal(Style,<span class="string">'volume'</span>)
740021     TITLE=<span class="string">'VOLUME'</span>;
750022 <span class="keyword">elseif</span> isequal(Style,<span class="string">'polygon'</span>)|isequal(Style,<span class="string">'rectangle'</span>)|isequal(Style,<span class="string">'ellipse'</span>)
760023     <span class="keyword">if</span> isequal(ProjMode,<span class="string">'inside'</span>)|isequal(ProjMode,<span class="string">'outside'</span>)
770024         TITLE=<span class="string">'PATCH'</span>;
780025     <span class="keyword">elseif</span> isequal(ProjMode,<span class="string">'mask_inside'</span>)|isequal(ProjMode,<span class="string">'mask_outside'</span>)
790026         TITLE=<span class="string">'MASK'</span>;
800027     <span class="keyword">else</span>
810028         TITLE=<span class="string">'LINE'</span>;
820029     <span class="keyword">end</span>
830030 <span class="keyword">end</span></pre></div>
84<hr><address>Generated on Fri 13-Nov-2009 11:17:03 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/">m2html</a></strong> &copy; 2003</address>
85</body>
86</html>
Note: See TracBrowser for help on using the repository browser.