/usr/share/doc/octave-epstk/files/edemo10-m.html is in octave-epstk 2.4-3.
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 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
<html><head><title>Pie plot - 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="Pie_plot"></a>Pie plot</h1><div class=CBody><img src="../images/demo10.png" width="500" height="649"><blockquote><pre>eopen('demo10.eps');
eglobpar
[im icm]=eshadois;
data=[115 124 123 50 149 189];
n=length(data);
cm=ecolors(3,n);
ePolarPlotAreaRadMin=0;
ePolarPlotAreaAngEnd=360;
%data=data/sum(data)
shadowColor=[0.2 0.2 0.2];
ePlotLegendPos=[ePolarPlotAreaRadMax*2.2 30];
legend=['epstk ';'tool 2';'tool 3';'tool 4';'tool 5';'tool 6'];
offset=10;
%shadow pie
epie(data(1),'','',-1,offset,shadowColor);
for i=2:n
epie(data(i),'','',-1,0,shadowColor);
end
epie;
%color pie
ePolarPlotAreaCenterPos=ePolarPlotAreaCenterPos-[1 1];
eAxesValueFontSize=5;
epie(data(1),'',legend(1,:),im,offset,icm);
for i=2:n
epie(data(i),sprintf('%d files',data(i)),legend(i,:),-1);
end
epie;
%frame pie
ePlotTitleText='Pie Plot';
epie(data(1),'','',[1 3 1],offset);
for i=2:n
epie(data(i));
end
angles=epie;
%label
labelColor=[0 0 0.5];
labelAngle=(angles(1,1)+angles(1,2)/2)*pi/180;
p1=ePolarPlotAreaCenterPos+[cos(labelAngle) sin(labelAngle)]*...
(offset+ePolarPlotAreaRadMax*3/4);
p2=ePolarPlotAreaCenterPos+[cos(labelAngle) sin(labelAngle)]*...
(offset+ePolarPlotAreaRadMax+10);
p3=[ePolarPlotAreaCenterPos(1)+ePolarPlotAreaRadMax+offset+5 p2(2)];
pline=[p1;p2;p3];
epline(pline(:,1),pline(:,2),eLineWidth,0,labelColor);
edsymbol('dot','frect.psd',0.3,0.3,0,0,0,labelColor);
esymbol(p1(1),p1(2),'dot');
etext('my files',p3(1),p3(2),6,4,3);
ePlotAreaHeight=50;
ePlotAreaWidth=50;
eXAxisNorthVisible=0;
eYAxisEastVisible=0;
[xb yb]=ebar(data,0);
ePlotTitleText='Bar Plot 1';
ePlotAreaPos=[20 20];
eYAxisWestScale=[0 0 200];
eXAxisSouthScale=[0.5 0 6.5];
eYAxisWestLabelText='files';
eXAxisSouthLabelText='tool';
eplot(xb+0.05,yb+1,'',-1,[0 0 0])
eplot(xb,yb,'',-1,[0.9 0.9 0])
eplot(xb,yb,'',0,[0 0 0])
eplot
ePlotTitleText='Bar Plot 2';
ePlotAreaPos=[110 20];
eXAxisSouthScale=[0 0 200];
eYAxisWestScale=[0.5 0 6.5];
eXAxisSouthLabelText='files';
eYAxisWestLabelText='tool';
[xb yb]=ebar(data,0);
eplot(yb+1,xb+0.05,'',-1,[0 0 0])
eplot(yb,xb,'',-1,[0.9 0.0 0])
eplot(yb,xb,'',0,[0 0 0])
eplot
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><a href="edemo7-m.html">edemo7</a></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 id=MSelected>edemo10</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>
|