Polygon_vertex_labels.svg
Size of this PNG preview of this SVG file:
767 × 264 pixels
.
Other resolutions:
320 × 110 pixels
|
640 × 220 pixels
|
1,024 × 352 pixels
|
1,280 × 441 pixels
|
2,560 × 881 pixels
.
Contents
Summary
Description 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. |
Date | |
Source | Own work |
Author | Qef |
Other versions | LabeledPolygon.png |
SVG development
InfoField
|
|
Source code
InfoField
|
PostScript codempost 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
Data//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
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 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.
http://creativecommons.org/publicdomain/zero/1.0/deed.en CC0 Creative Commons Zero, Public Domain Dedication false false |