/usr/share/doc/octave-epstk/files/edemo7-m.html is in octave-epstk 2.4-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
<html><head><title>Text output - EpsTk</title><link rel="stylesheet" type="text/css" href="../styles/main.css"><script language=JavaScript src="../javascript/main.js"></script><script language=JavaScript src="../javascript/searchdata.js"></script></head><body class="ContentPage" onLoad="NDOnLoad()"><script language=JavaScript><!--
if (browserType) {document.write("<div class=" + browserType + ">");if (browserVer) {document.write("<div class=" + browserVer + ">"); }}// --></script>
<!-- Generated by Natural Docs, version 1.4 -->
<!-- http://www.naturaldocs.org -->
<!-- saved from url=(0026)http://www.naturaldocs.org -->
<div id=Content><div class="CFunction"><div class=CTopic id=MainTopic><h1 class=CTitle><a name="Text_output"></a>Text output</h1><div class=CBody><img src="../images/demo7.png" width="500" height="580"><blockquote><pre>eopen('demo7.eps');
eglobpar;
%a few global parameter
eTextFont=1;
eTextFontSize=6;
%titel
etext('Text',15,230,[15*2 15 -45]);
etext('Features',0,0,[15*2 15 45]);
%append text
etext('demo',30,30,100,1,2,45,[0.9 0.9 0.9]);
etext('Start at (20,210)...',20,210);
etext('10mm...',0,0,10);
etext('4mm...',0,0,4);
etext('new font...or Symbols:',0,0,6,1,2);
etext('\\141\\142\\147',0,0,6,1,13);
etext('new line...',20,185);
etext('go down... ',0,-3);
etext('go up... ',0,6);
etext('and back... ',0,-3);
etext('redtext... ',0,0,6,1,5,45,[1 0 0]);
etext('yellow... ',0,0,6,1,5,-45,[1 1 0]);
etext('blue... ',0,0,6,1,5,-135,[0 0 1]);
etext('red..',0,0,6,1,5,-225,[1 0 0]);
etext('green. ',0,0,6,1,5,45,[0 1 0]);
colorMap=ecolors(3,5);
% rotation
etext('rotate Text',50,140,6,1,2,0,colorMap(1,:));
etext('rotate Text',50,140,6,1,2,45,colorMap(2,:));
etext('rotate Text',50,140,6,1,2,90,colorMap(3,:));
etext('rotate Text',50,140,6,1,2,135,colorMap(4,:));
etext('rotate Text',50,140,6,1,2,180,colorMap(5,:));
etext('rotate Text',100,150,6,0,2,0,colorMap(1,:));
etext('rotate Text',100,150,6,3,2,45,colorMap(2,:));
etext('rotate Text',100,150,6,3,2,90,colorMap(3,:));
etext('rotate Text',100,150,6,3,2,135,colorMap(4,:));
etext('rotate Text',100,150,6,0,2,180,colorMap(5,:));
etext('rotate Text',150,160,6,-1,2,0,colorMap(1,:));
etext('rotate Text',150,160,6,-1,2,45,colorMap(2,:));
etext('rotate Text',150,160,6,-1,2,90,colorMap(3,:));
etext('rotate Text',150,160,6,-1,2,135,colorMap(4,:));
etext('rotate Text',150,160,6,-1,2,180,colorMap(5,:));
% left center right
lineStep=-8;
yValue=130;
etext('left line1....',10,yValue,6,1);
etext('....center line1....',90,yValue,6,0);
etext('....right line1',170,yValue,6,-1);
yValue=yValue+lineStep;
etext('left line2..',10,yValue,6,1);
etext('..center line2..',90,yValue,6,0);
etext('..right line2',170,yValue,6,-1);
yValue=yValue+lineStep;
etext('left line3......',10,yValue,6,1);
etext('......center line3......',90,yValue,6,0);
etext('......right line3',170,yValue,6,-1);
%special character
lineStep=-4;
eTextFont=1;
eTextFontSize=3;
xValue=10;
yValue=yValue+1.5*lineStep;
etext('Special Character by octal value',xValue,yValue);
s=' ';
for i=[1,2,3,4,5,6,7,8,9,11,12,14,15,]
c=sprintf('\\134%o=\\%o ',i,i);
s=[s,c];
end
yValue=yValue+lineStep;
etext(s,xValue,yValue);
s=' ';
for i=[16 17 22:31]
c=sprintf('\\134%o=\\%o ',i,i);
s=[s,c];
end
yValue=yValue+lineStep;
etext(s,xValue,yValue);
s=' ';
for i=[33,34,35,36,37,38,47,64]
c=sprintf('\\134%o=\\%o ',i,i);
s=[s,c];
end
yValue=yValue+1.3*lineStep;
etext(s,xValue,yValue);
s=' ';
for i=[91,92,93,123,124,125,126]
c=sprintf('\\134%o=\\%o ',i,i);
s=[s,c];
end
yValue=yValue+lineStep;
etext(s,xValue,yValue);
s=' ';
for i=[128 [130:140] 142]
c=sprintf('\\134%o=\\%o ',i,i);
s=[s,c];
end
yValue=yValue+lineStep;
etext(s,xValue,yValue);
s=' ';
for i=147:159
c=sprintf('\\134%o=\\%o ',i,i);
s=[s,c];
end
yValue=yValue+lineStep;
etext(s,xValue,yValue);
s=' ';
for i=161:175
c=sprintf('\\134%o=\\%o ',i,i);
s=[s,c];
end
yValue=yValue+lineStep;
etext(s,xValue,yValue);
s=' ';
for i=176:191
c=sprintf('\\134%o=\\%o ',i,i);
s=[s,c];
end
yValue=yValue+lineStep;
etext(s,xValue,yValue);
s=' ';
for i=192:207
c=sprintf('\\134%o=\\%o ',i,i);
s=[s,c];
end
yValue=yValue+lineStep;
etext(s,xValue,yValue);
s=' ';
for i=208:223
c=sprintf('\\134%o=\\%o ',i,i);
s=[s,c];
end
yValue=yValue+lineStep;
etext(s,xValue,yValue);
s=' ';
for i=224:239
c=sprintf('\\134%o=\\%o ',i,i);
s=[s,c];
end
yValue=yValue+lineStep;
etext(s,xValue,yValue);
s=' ';
for i=[[240:252] 254 255]
c=sprintf('\\134%o=\\%o ',i,i);
s=[s,c];
end
yValue=yValue+lineStep;
etext(s,xValue,yValue);
yValue=yValue+1.5*lineStep;
etext('Special Character of font 13(Symbol) call by octal value',xValue,yValue);
yValue=yValue+1.3*lineStep;
etext('',xValue,yValue);
for i=65:71
c=sprintf(' \\134%o=',i);
s=sprintf('\\%o',i);
etext(c,0,0,eTextFontSize,1);
etext(s,0,0,eTextFontSize,1,13);
end
etext(' ...',0,0,eTextFontSize,1);
i=90;
c=sprintf(' \\134%o=',i);
s=sprintf('\\%o',i);
etext(c,0,0,eTextFontSize,1);
etext(s,0,0,eTextFontSize,1,13);
yValue=yValue+lineStep;
etext('',xValue,yValue);
for i=97:103
c=sprintf(' \\134%o=',i);
s=sprintf('\\%o',i);
etext(c,0,0,eTextFontSize,1);
etext(s,0,0,eTextFontSize,1,13);
end
etext(' ...',0,0,eTextFontSize,1);
i=122;
c=sprintf(' \\134%o=',i);
s=sprintf('\\%o',i);
etext(c,0,0,eTextFontSize,1);
etext(s,0,0,eTextFontSize,1,13);
yValue=yValue+lineStep;
etext('',xValue,yValue);
eclose;
newbbox=ebbox(5);
if ~exist('noDemoShow')
eview % start ghostview with eps-file
end</pre></blockquote></div></div></div>
</div><!--Content-->
<div id=Footer>© 2012 stefan.mueller@fhr.fraunhofer.de · Last updated Apr 19, 2012 · <a href="http://www.naturaldocs.org">Generated by Natural Docs</a></div><!--Footer-->
<div id=Menu><div class=MTitle>EpsTk<div class=MSubTitle>version 2.4</div></div><div class=MEntry><div class=MFile><a href="introduction-txt.html">Introduction</a></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent14')">epsFunctions</a><div class=MGroupContent id=MGroupContent14><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent1')">Basic</a><div class=MGroupContent id=MGroupContent1><div class=MEntry><div class=MFile><a href="eopen-m.html">eopen</a></div></div><div class=MEntry><div class=MFile><a href="eclose-m.html">eclose</a></div></div><div class=MEntry><div class=MFile><a href="ebbox-m.html">ebbox</a></div></div><div class=MEntry><div class=MFile><a href="eview-m.html">eview</a></div></div><div class=MEntry><div class=MFile><a href="ebrowse-m.html">ebrowse</a></div></div><div class=MEntry><div class=MFile><a href="ehelp-m.html">ehelp</a></div></div></div></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent2')">Grid</a><div class=MGroupContent id=MGroupContent2><div class=MEntry><div class=MFile><a href="egrid-m.html">egrid</a></div></div><div class=MEntry><div class=MFile><a href="egridpol-m.html">egridpol</a></div></div></div></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent3')">Axes</a><div class=MGroupContent id=MGroupContent3><div class=MEntry><div class=MFile><a href="eaxis-m.html">eaxis</a></div></div><div class=MEntry><div class=MFile><a href="eaxes-m.html">eaxes</a></div></div><div class=MEntry><div class=MFile><a href="eaxespol-m.html">eaxespol</a></div></div></div></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent4')">Plots</a><div class=MGroupContent id=MGroupContent4><div class=MEntry><div class=MFile><a href="ebar-m.html">ebar</a></div></div><div class=MEntry><div class=MFile><a href="econtour-m.html">econtour</a></div></div><div class=MEntry><div class=MFile><a href="eerrbar-m.html">eerrbar</a></div></div><div class=MEntry><div class=MFile><a href="epie-m.html">epie</a></div></div><div class=MEntry><div class=MFile><a href="eplot-m.html">eplot</a></div></div><div class=MEntry><div class=MFile><a href="epolar-m.html">epolar</a></div></div></div></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent5')">Images</a><div class=MGroupContent id=MGroupContent5><div class=MEntry><div class=MFile><a href="ebright-m.html">ebright</a></div></div><div class=MEntry><div class=MFile><a href="econtra-m.html">econtra</a></div></div><div class=MEntry><div class=MFile><a href="eidx2rgb-m.html">eidx2rgb</a></div></div><div class=MEntry><div class=MFile><a href="eimage-m.html">eimage</a></div></div><div class=MEntry><div class=MFile><a href="eimagesc-m.html">eimagesc</a></div></div><div class=MEntry><div class=MFile><a href="eimg2txt-m.html">eimg2txt</a></div></div><div class=MEntry><div class=MFile><a href="eimgleg-m.html">eimgleg</a></div></div><div class=MEntry><div class=MFile><a href="eimgmask-m.html">eimgmask</a></div></div><div class=MEntry><div class=MFile><a href="eimgmix-m.html">eimgmix</a></div></div><div class=MEntry><div class=MFile><a href="eimgread-m.html">eimgread</a></div></div><div class=MEntry><div class=MFile><a href="eimgrot-m.html">eimgrot</a></div></div><div class=MEntry><div class=MFile><a href="eimgview-m.html">eimgview</a></div></div><div class=MEntry><div class=MFile><a href="eimgwrit-m.html">eimgwrit</a></div></div><div class=MEntry><div class=MFile><a href="eimgzoom-m.html">eimgzoom</a></div></div><div class=MEntry><div class=MFile><a href="ejpgread-m.html">ejpgread</a></div></div><div class=MEntry><div class=MFile><a href="eppmread-m.html">eppmread</a></div></div><div class=MEntry><div class=MFile><a href="eppmwrit-m.html">eppmwrit</a></div></div><div class=MEntry><div class=MFile><a href="epolari-m.html">epolari</a></div></div><div class=MEntry><div class=MFile><a href="epolaris-m.html">epolaris</a></div></div><div class=MEntry><div class=MFile><a href="ergb2idx-m.html">ergb2idx</a></div></div><div class=MEntry><div class=MFile><a href="ergbsplitt-m.html">ergbsplitt</a></div></div><div class=MEntry><div class=MFile><a href="eshadoi-m.html">eshadoi</a></div></div><div class=MEntry><div class=MFile><a href="eshadois-m.html">eshadois</a></div></div><div class=MEntry><div class=MFile><a href="eshadoix-m.html">eshadoix</a></div></div></div></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent6')">Lines</a><div class=MGroupContent id=MGroupContent6><div class=MEntry><div class=MFile><a href="eellipse-m.html">eellipse</a></div></div><div class=MEntry><div class=MFile><a href="eframe-m.html">eframe</a></div></div><div class=MEntry><div class=MFile><a href="elines-m.html">elines</a></div></div><div class=MEntry><div class=MFile><a href="epline-m.html">epline</a></div></div></div></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent7')">Text</a><div class=MGroupContent id=MGroupContent7><div class=MEntry><div class=MFile><a href="edfont-m.html">edfont</a></div></div><div class=MEntry><div class=MFile><a href="eparam-m.html">eparam</a></div></div><div class=MEntry><div class=MFile><a href="eptitle-m.html">eptitle</a></div></div><div class=MEntry><div class=MFile><a href="etext-m.html">etext</a></div></div><div class=MEntry><div class=MFile><a href="etitle-m.html">etitle</a></div></div><div class=MEntry><div class=MFile><a href="etxtbox-m.html">etxtbox</a></div></div><div class=MEntry><div class=MFile><a href="etxtlpos-m.html">etxtlpos</a></div></div><div class=MEntry><div class=MFile><a href="etxtread-m.html">etxtread</a></div></div><div class=MEntry><div class=MFile><a href="etxtwrit-m.html">etxtwrit</a></div></div></div></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent8')">Sybmbols</a><div class=MGroupContent id=MGroupContent8><div class=MEntry><div class=MFile><a href="edsymbol-m.html">edsymbol</a></div></div><div class=MEntry><div class=MFile><a href="equiver-m.html">equiver</a></div></div><div class=MEntry><div class=MFile><a href="esymbol-m.html">esymbol</a></div></div></div></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent9')">Tables</a><div class=MGroupContent id=MGroupContent9><div class=MEntry><div class=MFile><a href="etabdef-m.html">etabdef</a></div></div><div class=MEntry><div class=MFile><a href="etabgrid-m.html">etabgrid</a></div></div><div class=MEntry><div class=MFile><a href="etabtext-m.html">etabtext</a></div></div></div></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent10')">Conversion</a><div class=MGroupContent id=MGroupContent10><div class=MEntry><div class=MFile><a href="ebitmap-m.html">ebitmap</a></div></div><div class=MEntry><div class=MFile><a href="ejpg2eps-m.html">ejpg2eps</a></div></div><div class=MEntry><div class=MFile><a href="emat2img-m.html">emat2img</a></div></div><div class=MEntry><div class=MFile><a href="eplo2win-m.html">eplo2win</a></div></div></div></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent11')">HTML</a><div class=MGroupContent id=MGroupContent11><div class=MEntry><div class=MFile><a href="ehtmlnew-m.html">ehtmlnew</a></div></div><div class=MEntry><div class=MFile><a href="ehtmladdtxt-m.html">ehtmladdtxt</a></div></div><div class=MEntry><div class=MFile><a href="ehtmladdimg-m.html">ehtmladdimg</a></div></div><div class=MEntry><div class=MFile><a href="ehtmladdeps-m.html">ehtmladdeps</a></div></div><div class=MEntry><div class=MFile><a href="etxt2shtml-m.html">etxt2shtml</a></div></div><div class=MEntry><div class=MFile><a href="eimg2shtml-m.html">eimg2shtml</a></div></div></div></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent12')">Utilities</a><div class=MGroupContent id=MGroupContent12><div class=MEntry><div class=MFile><a href="ecolors-m.html">ecolors</a></div></div><div class=MEntry><div class=MFile><a href="ecolor2gray-m.html">ecolor2gray</a></div></div><div class=MEntry><div class=MFile><a href="edecipol-m.html">edecipol</a></div></div><div class=MEntry><div class=MFile><a href="edecixy-m.html">edecixy</a></div></div><div class=MEntry><div class=MFile><a href="efillmat-m.html">efillmat</a></div></div><div class=MEntry><div class=MFile><a href="egradient-m.html">egradient</a></div></div><div class=MEntry><div class=MFile><a href="einflate-m.html">einflate</a></div></div><div class=MEntry><div class=MFile><a href="einit-m.html">einit</a></div></div><div class=MEntry><div class=MFile><a href="einseps-m.html">einseps</a></div></div><div class=MEntry><div class=MFile><a href="eisoline-m.html">eisoline</a></div></div><div class=MEntry><div class=MFile><a href="elineip-m.html">elineip</a></div></div><div class=MEntry><div class=MFile><a href="ematrsli-m.html">ematrsli</a></div></div><div class=MEntry><div class=MFile><a href="ematrsnn-m.html">ematrsnn</a></div></div><div class=MEntry><div class=MFile><a href="emerge-m.html">emerge</a></div></div><div class=MEntry><div class=MFile><a href="equisci-m.html">equisci</a></div></div><div class=MEntry><div class=MFile><a href="eshadow-m.html">eshadow</a></div></div><div class=MEntry><div class=MFile><a href="esubeps-m.html">esubeps</a></div></div><div class=MEntry><div class=MFile><a href="ewinsize-m.html">ewinsize</a></div></div></div></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent13')">Tools</a><div class=MGroupContent id=MGroupContent13><div class=MEntry><div class=MFile><a href="ecdcover-m.html">ecdcover</a></div></div><div class=MEntry><div class=MFile><a href="ejpglist-m.html">ejpglist</a></div></div><div class=MEntry><div class=MFile><a href="eappend-m.html">eappend</a></div></div></div></div></div></div></div></div><div class=MEntry><div class=MFile><a href="globalPara-txt.html">Global parameter</a></div></div><div class=MEntry><div class=MFile><a href="characterCode-txt.html">Character code</a></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent15')">Demos</a><div class=MGroupContent id=MGroupContent15><div class=MEntry><div class=MFile><a href="edemo1-m.html">edemo1</a></div></div><div class=MEntry><div class=MFile><a href="edemo2-m.html">edemo2</a></div></div><div class=MEntry><div class=MFile><a href="edemo3-m.html">edemo3</a></div></div><div class=MEntry><div class=MFile><a href="edemo4-m.html">edemo4</a></div></div><div class=MEntry><div class=MFile><a href="edemo5-m.html">edemo5</a></div></div><div class=MEntry><div class=MFile><a href="edemo6-m.html">edemo6</a></div></div><div class=MEntry><div class=MFile id=MSelected>edemo7</div></div><div class=MEntry><div class=MFile><a href="edemo8-m.html">edemo8</a></div></div><div class=MEntry><div class=MFile><a href="edemo9-m.html">edemo9</a></div></div><div class=MEntry><div class=MFile><a href="edemo10-m.html">edemo10</a></div></div><div class=MEntry><div class=MFile><a href="edemo11-m.html">edemo11</a></div></div><div class=MEntry><div class=MFile><a href="edemo12-m.html">edemo12</a></div></div><div class=MEntry><div class=MFile><a href="edemo13-m.html">edemo13</a></div></div><div class=MEntry><div class=MFile><a href="edemo14-m.html">edemo14</a></div></div><div class=MEntry><div class=MFile><a href="edemo15-m.html">edemo15</a></div></div><div class=MEntry><div class=MFile><a href="edemo16-m.html">edemo16</a></div></div><div class=MEntry><div class=MFile><a href="edemo17-m.html">edemo17</a></div></div></div></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent16')">Index</a><div class=MGroupContent id=MGroupContent16><div class=MEntry><div class=MIndex><a href="../index/General.html">Everything</a></div></div><div class=MEntry><div class=MIndex><a href="../index/Functions.html">Functions</a></div></div></div></div></div><div class=MEntry><div class=MFile><a href="License-GPL-txt.html">GNU General Public Licence</a></div></div><script type="text/javascript"><!--
var searchPanel = new SearchPanel("searchPanel", "HTML", "../search");
--></script><div id=MSearchPanel class=MSearchPanelInactive><input type=text id=MSearchField value=Search onFocus="searchPanel.OnSearchFieldFocus(true)" onBlur="searchPanel.OnSearchFieldFocus(false)" onKeyUp="searchPanel.OnSearchFieldChange()"><select id=MSearchType onFocus="searchPanel.OnSearchTypeFocus(true)" onBlur="searchPanel.OnSearchTypeFocus(false)" onChange="searchPanel.OnSearchTypeChange()"><option id=MSearchEverything selected value="General">Everything</option><option value="Functions">Functions</option></select></div><script language=JavaScript><!--
HideAllBut([15, 16], 17);// --></script></div><!--Menu-->
<!--START_ND_TOOLTIPS-->
<!--END_ND_TOOLTIPS-->
<div id=MSearchResultsWindow><iframe src="" frameborder=0 name=MSearchResults id=MSearchResults></iframe><a href="javascript:searchPanel.CloseResultsWindow()" id=MSearchResultsWindowClose>Close</a></div>
<script language=JavaScript><!--
if (browserType) {if (browserVer) {document.write("</div>"); }document.write("</div>");}// --></script></body></html>
|