| u2u_help | R Documentation |
Functions in this family convert among common plotting units. Available unit codes are:
'cm' | centimeters |
'in' | inches |
'mm' | millimeters |
'pt' | points (72/inch) |
u2u_help()
u2u(x, old, new)
u2cm(x, old)
u2in(x, old)
u2mm(x, old)
u2pt(x, old)
cm2u(x, new)
in2u(x, new)
mm2u(x, new)
pt2u(x, new)
cm2in(x)
cm2mm(x)
cm2pt(x)
in2cm(x)
in2mm(x)
in2pt(x)
mm2cm(x)
mm2in(x)
mm2pt(x)
pt2cm(x)
pt2in(x)
pt2mm(x)
x |
An atomic, numeric object. |
old, new |
Complete character scalars giving old and new units of distance, respectively: |
An atomic numeric object.
u2u(): Converts x from old units to new units
u2cm(): Converts x from old units to centimeters.
u2in(): Converts x from old units to inches.
u2mm(): Converts x from old units to millimeters.
u2pt(): Converts x from old units to points.
cm2u(): Converts x from centimeters to new units.
in2u(): Converts x from inches to new units.
mm2u(): Converts x from millimeters to new units.
pt2u(): Converts x from points to new units.
cm2in(): Converts x from centimeters to inches.
cm2mm(): Converts x from centimeters to millimeters.
cm2pt(): Converts x from centimeters to points.
in2cm(): Converts x from inches to centimeters.
in2mm(): Converts x from inches to millimeters.
in2pt(): Converts x from inches to points.
mm2cm(): Converts x from millimeters to centimeters.
mm2in(): Converts x from millimeters to inches.
mm2pt(): Converts x from millimeters to points.
pt2cm(): Converts x from points to centimeters.
pt2in(): Converts x from points to inches.
pt2mm(): Converts x from points to millimeters.
Other conversions:
hex_dec_help(),
rng2lev(),
tocase()
Other plots:
color_funs(),
gg_help(),
gr,
markdown_help(),
pals_help()
u2u(1:3, "cm", "pt")
u2u(1:3, "in", "mm")
u2cm(1:3, "in")
u2in(1:3, "cm")
u2pt(1:3, "cm")
cm2u(1:3, "in")
in2u(1:3, "cm")
pt2u(1:3, "cm")
cm2in(1:3)
cm2mm(1:3)
cm2pt(1:3)
in2cm(1:3)
in2mm(1:3)
in2pt(1:3)
mm2cm(1:3)
mm2in(1:3)
mm2pt(1:3)
pt2cm(1:3)
pt2in(1:3)
pt2mm(1:3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.