File:Q tails (serif) pie chart.svg

Original file(SVG file, nominally 650 × 350 pixels, file size: 62 KB)

Data

From Identifont.[1] See also w:en:User:Psiĥedelisto/Q_tails.

type    serif   sansMeets bowl      3363    4521Bisecting       1461    2719“2” shape       304     428Outside bowl    271     397Inside bowl only        129     220

Summary

Description
English: The code that generated this image is based on only lightly modified code from this StackOverflow answer by user "vagoberto". The code is licensed under the terms of the Creative Commons Attribution-ShareAlike 3.0 Unported license.
Date
SourceOwn work
AuthorPsiĥedelisto
SVG development
InfoField
The SVG code is valid.
This chart was created with Gnuplot.
Source code
InfoField

Gnuplot code

# terminalset terminal svg size 650,350 enhanced font 'Liberation Sans, Helvetica, Arial, sans-serif,10'set output 'qtails-serif.svg'set title 'Q tails (serif)' font "Liberation Sans Bold,16"filename = 'qtails.csv'rowi = 1rowf = 7# obtain sum(column(2)) from rows `rowi` to `rowf`set datafile separator '\t'stats filename u 2 every ::rowi::rowf noout prefix "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 canvasset style fill solid 1     # filled pie-chartunset key                  # no automatic labelsunset tics                 # remove ticsunset border               # remove borders; if some label is missing, comment to see what is happeningset size ratio -1              # equal scale lengthset xrange [-radius:2*radius]  # [-1:2] leaves space for labelsset yrange [-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)plot filename u (centerX):(centerY):(radius):(pos):(pos=pos+angle($2)):(colour=colour+1) every ::rowi::rowf w circle lc var,\     for [i=0:rowf-rowi] '+' u (xpos):(ypos(i)) w p pt 5 ps 4 lc i+1,\     for [i=0:rowf-rowi] filename u (xpos):(ypos(i)):(sprintf('%.2f%% %s', percentage($2), stringcolumn(1))) every ::i+rowi::i+rowi w labels left offset 3

Licensing

I, the copyright holder of this work, hereby publish it under the following license:
Creative Commons CC-ZeroThis file is made available under the Creative Commons CC0 1.0 Universal Public Domain Dedication.
The person who associated a work with this deed has dedicated the work to the public domain by waiving all of their rights to the work worldwide under copyright law, including all related and neighboring rights, to the extent allowed by law. You can copy, modify, distribute and perform the work, even for commercial purposes, all without asking permission.

Captions

Add a one-line explanation of what this file represents

Items portrayed in this file

depicts

3 February 2017

File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeThumbnailDimensionsUserComment
current02:33, 3 February 2017Thumbnail for version as of 02:33, 3 February 2017650 × 350 (62 KB)PsiĥedelistoUser created page with UploadWizard
The following pages on the English Wikipedia use this file (pages on other projects are not listed):

Global file usage

The following other wikis use this file:

Metadata