setterminalsvgsize650,350enhancedfont'Liberation Sans, Helvetica, Arial, sans-serif,10'setoutput'qtails-sans.svg'settitle'Q tails (sans-serif)'font"Liberation Sans Bold,16"filename='qtails.csv'rowi=1rowf=7# obtain sum(column(2)) from rows `rowi` to `rowf`setdatafileseparator'\t'statsfilenameu3every::rowi::rowfnooutprefix"A"# rowf should not be greater than length of filerowf=(rowf-rowi>A_records-1?A_records+rowi-1:rowf)angle(x)=x*360/A_sumpercentage(x)=x*100/A_sum# circumference dimensions for pie-chartcenterX=0centerY=0radius=1# label positionsyposmin=0.0yposmax=0.95*radiusxpos=1.5*radiusypos(i)=yposmax-i*(yposmax-yposmin)/(1.0*rowf-rowi)#-------------------------------------------------------------------# now we can configure the canvassetstylefillsolid1# filled pie-chartunsetkey# no automatic labelsunsettics# remove ticsunsetborder# remove borders; if some label is missing, comment to see what is happeningsetsizeratio-1# equal scale lengthsetxrange[-radius:2*radius]# [-1:2] leaves space for labelssetyrange[-radius:radius]# [-1:1]#-------------------------------------------------------------------pos=0# init anglecolour=0# init colour# 1st line: plot pie-chart# 2nd line: draw colored boxes at (xpos):(ypos)# 3rd line: place labels at (xpos+offset):(ypos)plotfilenameu(centerX):(centerY):(radius):(pos):(pos=pos+angle($3)):(colour=colour+1)every::rowi::rowfwcirclelcvar,\
for[i=0:rowf-rowi]'+'u(xpos):(ypos(i))wppt5ps4lci+1,\
for[i=0:rowf-rowi]filenameu(xpos):(ypos(i)):(sprintf('%.2f%% %s',percentage($3),stringcolumn(1)))every::i+rowi::i+rowiwlabelsleftoffset3
അനുമതി
ഈ സൃഷ്ടിയുടെ പകർപ്പവകാശ ഉടമയായ ഞാൻ, താഴെ പറയുന്ന അനുമതിയിൽ ഈ സൃഷ്ടി ഇതിനാൽ പ്രസിദ്ധീകരിക്കുന്നു:
ഈ പ്രമാണത്തിന്റെ സൃഷ്ടിയുമായി ബന്ധപ്പെട്ട വ്യക്തി, പകർപ്പവകാശ നിയമവുമായി ബന്ധപ്പെട്ട എല്ലാ നിയമപരമായ അവകാശങ്ങളും, നിയമം അനുവദിക്കുന്ന പരിധി വരെ, അദ്ദേഹത്തിന്റെ/അവരുടെ എല്ലാ അവകാശങ്ങളും, അവയുമായി ബന്ധപ്പെട്ട അവകാശങ്ങളും ആഗോളവ്യാപകമായി പരിത്യജിച്ച്, തന്റെ പ്രവർത്തനം പൊതുസഞ്ചയത്തിലേയ്ക്ക് സമർപ്പിച്ചിരിക്കുന്നു. ഈ സൃഷ്ടി, വ്യാപാരോദ്ദേശമുൾപ്പെടെ ഏതൊരാവശ്യത്തിനും അനുമതിയൊന്നുമാവശ്യപ്പെടാതെ പകർത്താനും, മാറ്റം വരുത്താനും, വിതരണം ചെയ്യാനും, അവതരിപ്പിക്കാനും താങ്കൾക്ക് സാദ്ധ്യമാണ്.
http://creativecommons.org/publicdomain/zero/1.0/deed.enCC0Creative Commons Zero, Public Domain Dedicationfalsefalse
↑3: $ style. Identifont. Retrieved on 2017-02-02. To get the numbers in the table, click Question 1 (serif or sans-serif?) or Question 2 (Q shape) and change the value. They appear under X possible fonts.
തലവാചകങ്ങൾ
ഈ പ്രമാണം എന്തിനെ പ്രതിനിധീകരിക്കുന്നുവെന്ന ഒറ്റവരി വിശദീകരണം ചേർക്കുക
ഡിജിറ്റൽ ക്യാമറയോ, സ്കാനറോ ഉപയോഗിച്ച് നിർമ്മിച്ചപ്പോഴോ ഡിജിറ്റൈസ് ചെയ്തപ്പോഴോ ചേർക്കപ്പെട്ട അധികവിവരങ്ങൾ ഈ പ്രമാണത്തിലുണ്ട്. ഈ പ്രമാണം അതിന്റെ ആദ്യസ്ഥിതിയിൽ നിന്നും മാറ്റിയിട്ടുണ്ടെങ്കിൽ, ചില വിവരങ്ങൾ ഇപ്പോഴുള്ള പ്രമാണത്തെ പൂർണ്ണമായി പ്രതിനിധീകരിക്കണമെന്നില്ല.