Checked content

File:Polygon vertex labels.svg

Summary

Description Illustration of labeling of vertices on a five sided polygon, including the convention that vertex zero is the same as the last vertex.
Date 13 July 2009
Source Own work
Author Qef

MetaPost source code

Metapost-icon.svg
This vector image was created with MetaPost.

This SVG was created by running the following commands:

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

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

Licensing

Creative Commons CC-Zero This 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 his or her 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.

The following pages on Schools Wikipedia link to this image (list may be incomplete):

Metadata

Learn more

Schools Wikipedia has made the best of Wikipedia available to students. SOS Childrens Villages cares for children who have lost their parents. Our Children's Villages give these children a new home and a new family, while a high-quality education and the best of medical care ensures they will grow up with all they need to succeed in adult life. Have you heard about child sponsorship? Visit our web site to find out.