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 © 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> > <a href="index.html">.</a> > set_title.m</div> |
---|
16 | |
---|
17 | <!--<table width="100%"><tr><td align="left"><a href="../index.html"><img alt="<" border="0" src="../left.png"> Master index</a></td> |
---|
18 | <td align="right"><a href="index.html">Index for . <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> |
---|
44 | This function calls: |
---|
45 | <ul style="list-style-image:url(../matlabicon.gif)"> |
---|
46 | </ul> |
---|
47 | This 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> |
---|
55 | 0002 <span class="comment">%-----------------------------------------------------------</span> |
---|
56 | 0003 <span class="comment">% function TITLE=set_title(Style,ProjMode)</span> |
---|
57 | 0004 <span class="comment">% OUTPUT:</span> |
---|
58 | 0005 <span class="comment">% TITLE: char string defining the title</span> |
---|
59 | 0006 <span class="comment">%</span> |
---|
60 | 0007 <span class="comment">% INPUT:</span> |
---|
61 | 0008 <span class="comment">% Style: char string defining the style of the projection opbject</span> |
---|
62 | 0009 <span class="comment">% ProjMode: char string defining the projection mode</span> |
---|
63 | 0010 <span class="comment">%------------------------------------------------</span> |
---|
64 | 0011 <a name="_sub0" href="#_subfunctions" class="code">function TITLE=set_title(Style,ProjMode)</a> |
---|
65 | 0012 <span class="comment">%------------------------------------------------</span> |
---|
66 | 0013 TITLE=[]; <span class="comment">%default</span> |
---|
67 | 0014 <span class="keyword">if</span> isequal(Style,<span class="string">'points'</span>) |
---|
68 | 0015 TITLE=<span class="string">'POINTS'</span>; |
---|
69 | 0016 <span class="keyword">elseif</span> isequal(Style,<span class="string">'line'</span>)|isequal(Style,<span class="string">'polyline'</span>) |
---|
70 | 0017 TITLE=<span class="string">'LINE'</span>; |
---|
71 | 0018 <span class="keyword">elseif</span> isequal(Style,<span class="string">'plane'</span>) |
---|
72 | 0019 TITLE=<span class="string">'PLANE'</span>; |
---|
73 | 0020 <span class="keyword">elseif</span> isequal(Style,<span class="string">'volume'</span>) |
---|
74 | 0021 TITLE=<span class="string">'VOLUME'</span>; |
---|
75 | 0022 <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>) |
---|
76 | 0023 <span class="keyword">if</span> isequal(ProjMode,<span class="string">'inside'</span>)|isequal(ProjMode,<span class="string">'outside'</span>) |
---|
77 | 0024 TITLE=<span class="string">'PATCH'</span>; |
---|
78 | 0025 <span class="keyword">elseif</span> isequal(ProjMode,<span class="string">'mask_inside'</span>)|isequal(ProjMode,<span class="string">'mask_outside'</span>) |
---|
79 | 0026 TITLE=<span class="string">'MASK'</span>; |
---|
80 | 0027 <span class="keyword">else</span> |
---|
81 | 0028 TITLE=<span class="string">'LINE'</span>; |
---|
82 | 0029 <span class="keyword">end</span> |
---|
83 | 0030 <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> © 2003</address> |
---|
85 | </body> |
---|
86 | </html> |
---|