Keywords: Polygon vertex labels.svg Illustration of labeling of vertices on a five sided polygon including the convention that vertex zero is the same as the last vertex Own 2009-07-13 Qef Other versions LabeledPolygon png en Other fields M + < mpost fig mp ps2pdf -dEPSCrop fig 1 fig pdf pstoedit -page 1 -dt -xscale 2 -yscale 2 -f sk fig pdf fig sk inkscape -z --vacuum-defs -f fig sk -l fig svg metapost //where fig mp is a file containing the following MetaPost program prologues 3; input boxes beginfig 1 ; pickup pencircle scaled 2pt; numeric polyscale textscale; polyscale 8; textscale 2; dotlabeldiam 6bp; dots twice normal size Vertices based on the oritinal bitmap version z0 polyscale 280 170 ; z1 polyscale 58 65 ; z2 polyscale 398 44 ; z3 polyscale 387 114 ; z4 polyscale 350 102 ; Position of label in middle z5 polyscale 240 105 ; path poly; poly z0--z1--z2--z3--z4--cycle; fill poly withcolor 0 85white; draw poly; label btex n 5 etex scaled textscale z5 ; dotlabel top btex x_0 y_0 x_5 y_5 etex scaled textscale z0 ; dotlabel lft btex x_1 y_1 etex scaled textscale z1 ; dotlabel rt btex x_2 y_2 etex scaled textscale z2 ; dotlabel rt btex x_3 y_3 etex scaled textscale z3 ; dotlabel bot btex x_4 y_4 etex scaled textscale z4 ; endfig; end cc-zero Polygons |