Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

add a figure to the help for points

git-svn-id: https://svn.r-project.org/R/trunk@56325 00db46b3-68df-0310-9c12-caf00c1e9a41
  • Loading branch information...
commit 275f58c0c99cfdc0cc8adcd1bd16043b0bac535b 1 parent 286e03a
ripley authored
View
3  doc/NEWS.Rd
@@ -212,7 +212,8 @@
\item Added new \samp{\figure} tag to Rd markup, so
that figures can be included in help pages when displayed
- in HTML or LaTeX.
+ in HTML or LaTeX. There is an example in the help page for
+ \code{points()}.
\item The built-in httpd server now allows access to files
in the session temporary directory \code{tempdir()},
View
1  doc/manual/refman.top
@@ -1,3 +1,4 @@
+\usepackage{graphicx}
\usepackage{makeidx}
\pagestyle{headings}
View
7 share/make/basepkg.mk
@@ -163,6 +163,13 @@ mksrc-win2:
(cd src && $(MAKE) -f Makefile.win) || exit 1; \
fi
+
+mkfigs:
+ @if test -d $(srcdir)/man/figures; then \
+ mkdir -p $(top_builddir)/library/$(pkg)/help/figures; \
+ cp $(srcdir)/man/figures/* $(top_builddir)/library/$(pkg)/help/figures; \
+ fi
+
install-tests:
@if test -d tests; then \
mkdir -p $(top_builddir)/library/$(pkg)/tests; \
View
2  src/library/graphics/Makefile.in
@@ -23,7 +23,7 @@ DEFPKGS = NULL
all: Makefile DESCRIPTION
@$(ECHO) "building package '$(pkg)'"
@$(MKINSTALLDIRS) $(top_builddir)/library/$(pkg)
- @$(MAKE) mkR1 mkdesc mkdemos mkpo
+ @$(MAKE) mkR1 mkdesc mkdemos mkpo mkfigs
@$(MAKE) mklazycomp
View
2  src/library/graphics/Makefile.win
@@ -17,7 +17,7 @@ DEFPKGS = NULL
all:
@$(ECHO) "building package '$(pkg)'"
@$(MKINSTALLDIRS) $(top_builddir)/library/$(pkg)
- @$(MAKE) -f Makefile.win mkR1 mkdesc mkdemos mkpo
+ @$(MAKE) -f Makefile.win mkR1 mkdesc mkdemos mkpo mkfigs
@$(MAKE) -f Makefile.win mklazycomp
include $(top_srcdir)/share/make/basepkg.mk
View
BIN  src/library/graphics/man/figures/pch.pdf
Binary file not shown
View
BIN  src/library/graphics/man/figures/pch.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
185 src/library/graphics/man/figures/pch.svg
@@ -0,0 +1,185 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="360pt" height="50pt" viewBox="0 0 360 50" version="1.1">
+<defs>
+<g>
+<symbol overflow="visible" id="glyph0-0">
+<path style="stroke: none;" d="M 0.1875 0 L 0.1875 -4.296875 L 3.609375 -4.296875 L 3.609375 0 L 0.1875 0 Z M 3.078125 -0.546875 L 3.078125 -3.765625 L 0.734375 -3.765625 L 0.734375 -0.546875 L 3.078125 -0.546875 Z M 3.078125 -0.546875 "/>
+</symbol>
+<symbol overflow="visible" id="glyph0-1">
+<path style="stroke: none;" d="M 1.625 -4.203125 C 2.164062 -4.203125 2.554688 -3.976562 2.796875 -3.53125 C 2.984375 -3.175781 3.078125 -2.703125 3.078125 -2.109375 C 3.078125 -1.535156 2.992188 -1.0625 2.828125 -0.6875 C 2.578125 -0.15625 2.175781 0.109375 1.625 0.109375 C 1.113281 0.109375 0.738281 -0.109375 0.5 -0.546875 C 0.289062 -0.910156 0.1875 -1.398438 0.1875 -2.015625 C 0.1875 -2.492188 0.25 -2.898438 0.375 -3.234375 C 0.601562 -3.878906 1.019531 -4.203125 1.625 -4.203125 Z M 1.625 -0.359375 C 1.894531 -0.359375 2.109375 -0.476562 2.265625 -0.71875 C 2.429688 -0.96875 2.515625 -1.421875 2.515625 -2.078125 C 2.515625 -2.554688 2.453125 -2.945312 2.328125 -3.25 C 2.210938 -3.5625 1.988281 -3.71875 1.65625 -3.71875 C 1.34375 -3.71875 1.113281 -3.570312 0.96875 -3.28125 C 0.832031 -2.988281 0.765625 -2.5625 0.765625 -2 C 0.765625 -1.5625 0.804688 -1.21875 0.890625 -0.96875 C 1.035156 -0.5625 1.28125 -0.359375 1.625 -0.359375 Z M 1.625 -0.359375 "/>
+</symbol>
+<symbol overflow="visible" id="glyph0-2">
+<path style="stroke: none;" d="M 0.578125 -2.96875 L 0.578125 -3.375 C 0.953125 -3.414062 1.210938 -3.476562 1.359375 -3.5625 C 1.515625 -3.644531 1.628906 -3.847656 1.703125 -4.171875 L 2.125 -4.171875 L 2.125 0 L 1.5625 0 L 1.5625 -2.96875 L 0.578125 -2.96875 Z M 0.578125 -2.96875 "/>
+</symbol>
+<symbol overflow="visible" id="glyph0-3">
+<path style="stroke: none;" d="M 0.1875 0 C 0.207031 -0.363281 0.28125 -0.675781 0.40625 -0.9375 C 0.539062 -1.207031 0.796875 -1.453125 1.171875 -1.671875 L 1.734375 -2 C 1.984375 -2.144531 2.160156 -2.269531 2.265625 -2.375 C 2.421875 -2.53125 2.5 -2.71875 2.5 -2.9375 C 2.5 -3.175781 2.425781 -3.367188 2.28125 -3.515625 C 2.132812 -3.660156 1.941406 -3.734375 1.703125 -3.734375 C 1.335938 -3.734375 1.085938 -3.59375 0.953125 -3.3125 C 0.878906 -3.164062 0.835938 -2.960938 0.828125 -2.703125 L 0.296875 -2.703125 C 0.296875 -3.066406 0.363281 -3.363281 0.5 -3.59375 C 0.71875 -4 1.117188 -4.203125 1.703125 -4.203125 C 2.179688 -4.203125 2.53125 -4.070312 2.75 -3.8125 C 2.976562 -3.5625 3.09375 -3.273438 3.09375 -2.953125 C 3.09375 -2.617188 2.972656 -2.332031 2.734375 -2.09375 C 2.597656 -1.957031 2.351562 -1.789062 2 -1.59375 L 1.59375 -1.359375 C 1.40625 -1.253906 1.253906 -1.15625 1.140625 -1.0625 C 0.953125 -0.894531 0.832031 -0.707031 0.78125 -0.5 L 3.0625 -0.5 L 3.0625 0 L 0.1875 0 Z M 0.1875 0 "/>
+</symbol>
+<symbol overflow="visible" id="glyph0-4">
+<path style="stroke: none;" d="M 1.5625 0.109375 C 1.0625 0.109375 0.695312 -0.0234375 0.46875 -0.296875 C 0.25 -0.566406 0.140625 -0.898438 0.140625 -1.296875 L 0.6875 -1.296875 C 0.71875 -1.015625 0.769531 -0.816406 0.84375 -0.703125 C 0.976562 -0.472656 1.226562 -0.359375 1.59375 -0.359375 C 1.863281 -0.359375 2.082031 -0.429688 2.25 -0.578125 C 2.425781 -0.734375 2.515625 -0.925781 2.515625 -1.15625 C 2.515625 -1.445312 2.425781 -1.648438 2.25 -1.765625 C 2.070312 -1.878906 1.820312 -1.9375 1.5 -1.9375 C 1.46875 -1.9375 1.429688 -1.9375 1.390625 -1.9375 C 1.359375 -1.9375 1.328125 -1.9375 1.296875 -1.9375 L 1.296875 -2.40625 C 1.347656 -2.394531 1.390625 -2.390625 1.421875 -2.390625 C 1.460938 -2.390625 1.503906 -2.390625 1.546875 -2.390625 C 1.742188 -2.390625 1.90625 -2.421875 2.03125 -2.484375 C 2.257812 -2.585938 2.375 -2.78125 2.375 -3.0625 C 2.375 -3.269531 2.296875 -3.429688 2.140625 -3.546875 C 1.992188 -3.660156 1.820312 -3.71875 1.625 -3.71875 C 1.269531 -3.71875 1.023438 -3.601562 0.890625 -3.375 C 0.816406 -3.238281 0.773438 -3.050781 0.765625 -2.8125 L 0.25 -2.8125 C 0.25 -3.125 0.3125 -3.390625 0.4375 -3.609375 C 0.65625 -4.003906 1.035156 -4.203125 1.578125 -4.203125 C 2.003906 -4.203125 2.332031 -4.101562 2.5625 -3.90625 C 2.800781 -3.71875 2.921875 -3.445312 2.921875 -3.09375 C 2.921875 -2.832031 2.847656 -2.625 2.703125 -2.46875 C 2.617188 -2.363281 2.507812 -2.285156 2.375 -2.234375 C 2.59375 -2.171875 2.765625 -2.050781 2.890625 -1.875 C 3.015625 -1.707031 3.078125 -1.5 3.078125 -1.25 C 3.078125 -0.84375 2.941406 -0.515625 2.671875 -0.265625 C 2.410156 -0.015625 2.039062 0.109375 1.5625 0.109375 Z M 1.5625 0.109375 "/>
+</symbol>
+<symbol overflow="visible" id="glyph0-5">
+<path style="stroke: none;" d="M 1.984375 -1.484375 L 1.984375 -3.390625 L 0.640625 -1.484375 L 1.984375 -1.484375 Z M 2 0 L 2 -1.03125 L 0.15625 -1.03125 L 0.15625 -1.546875 L 2.078125 -4.203125 L 2.515625 -4.203125 L 2.515625 -1.484375 L 3.140625 -1.484375 L 3.140625 -1.03125 L 2.515625 -1.03125 L 2.515625 0 L 2 0 Z M 2 0 "/>
+</symbol>
+<symbol overflow="visible" id="glyph0-6">
+<path style="stroke: none;" d="M 0.734375 -1.0625 C 0.773438 -0.769531 0.914062 -0.566406 1.15625 -0.453125 C 1.28125 -0.390625 1.425781 -0.359375 1.59375 -0.359375 C 1.90625 -0.359375 2.132812 -0.457031 2.28125 -0.65625 C 2.4375 -0.851562 2.515625 -1.070312 2.515625 -1.3125 C 2.515625 -1.613281 2.425781 -1.84375 2.25 -2 C 2.070312 -2.15625 1.859375 -2.234375 1.609375 -2.234375 C 1.421875 -2.234375 1.257812 -2.195312 1.125 -2.125 C 1 -2.0625 0.890625 -1.96875 0.796875 -1.84375 L 0.34375 -1.859375 L 0.671875 -4.125 L 2.84375 -4.125 L 2.84375 -3.609375 L 1.0625 -3.609375 L 0.875 -2.453125 C 0.976562 -2.523438 1.070312 -2.578125 1.15625 -2.609375 C 1.3125 -2.679688 1.492188 -2.71875 1.703125 -2.71875 C 2.085938 -2.71875 2.410156 -2.59375 2.671875 -2.34375 C 2.941406 -2.09375 3.078125 -1.773438 3.078125 -1.390625 C 3.078125 -0.992188 2.953125 -0.644531 2.703125 -0.34375 C 2.460938 -0.0390625 2.078125 0.109375 1.546875 0.109375 C 1.203125 0.109375 0.894531 0.015625 0.625 -0.171875 C 0.363281 -0.367188 0.21875 -0.664062 0.1875 -1.0625 L 0.734375 -1.0625 Z M 0.734375 -1.0625 "/>
+</symbol>
+<symbol overflow="visible" id="glyph0-7">
+<path style="stroke: none;" d="M 1.75 -4.21875 C 2.21875 -4.21875 2.546875 -4.09375 2.734375 -3.84375 C 2.921875 -3.601562 3.015625 -3.351562 3.015625 -3.09375 L 2.484375 -3.09375 C 2.453125 -3.257812 2.40625 -3.390625 2.34375 -3.484375 C 2.21875 -3.660156 2.023438 -3.75 1.765625 -3.75 C 1.472656 -3.75 1.238281 -3.613281 1.0625 -3.34375 C 0.882812 -3.070312 0.785156 -2.679688 0.765625 -2.171875 C 0.890625 -2.347656 1.046875 -2.476562 1.234375 -2.5625 C 1.398438 -2.644531 1.585938 -2.6875 1.796875 -2.6875 C 2.140625 -2.6875 2.441406 -2.570312 2.703125 -2.34375 C 2.972656 -2.125 3.109375 -1.789062 3.109375 -1.34375 C 3.109375 -0.96875 2.984375 -0.628906 2.734375 -0.328125 C 2.484375 -0.0351562 2.128906 0.109375 1.671875 0.109375 C 1.273438 0.109375 0.929688 -0.0351562 0.640625 -0.328125 C 0.359375 -0.628906 0.21875 -1.132812 0.21875 -1.84375 C 0.21875 -2.363281 0.285156 -2.804688 0.421875 -3.171875 C 0.660156 -3.867188 1.101562 -4.21875 1.75 -4.21875 Z M 1.71875 -0.359375 C 2 -0.359375 2.207031 -0.453125 2.34375 -0.640625 C 2.476562 -0.828125 2.546875 -1.046875 2.546875 -1.296875 C 2.546875 -1.515625 2.484375 -1.71875 2.359375 -1.90625 C 2.234375 -2.101562 2.007812 -2.203125 1.6875 -2.203125 C 1.457031 -2.203125 1.257812 -2.125 1.09375 -1.96875 C 0.925781 -1.820312 0.84375 -1.597656 0.84375 -1.296875 C 0.84375 -1.035156 0.914062 -0.8125 1.0625 -0.625 C 1.21875 -0.445312 1.4375 -0.359375 1.71875 -0.359375 Z M 1.71875 -0.359375 "/>
+</symbol>
+<symbol overflow="visible" id="glyph0-8">
+<path style="stroke: none;" d="M 3.140625 -4.125 L 3.140625 -3.671875 C 3.003906 -3.535156 2.820312 -3.304688 2.59375 -2.984375 C 2.375 -2.660156 2.175781 -2.3125 2 -1.9375 C 1.832031 -1.570312 1.707031 -1.238281 1.625 -0.9375 C 1.5625 -0.738281 1.488281 -0.425781 1.40625 0 L 0.8125 0 C 0.945312 -0.800781 1.242188 -1.597656 1.703125 -2.390625 C 1.960938 -2.859375 2.242188 -3.257812 2.546875 -3.59375 L 0.21875 -3.59375 L 0.21875 -4.125 L 3.140625 -4.125 Z M 3.140625 -4.125 "/>
+</symbol>
+<symbol overflow="visible" id="glyph0-9">
+<path style="stroke: none;" d="M 1.625 -2.4375 C 1.863281 -2.4375 2.046875 -2.5 2.171875 -2.625 C 2.304688 -2.757812 2.375 -2.914062 2.375 -3.09375 C 2.375 -3.25 2.3125 -3.390625 2.1875 -3.515625 C 2.0625 -3.648438 1.867188 -3.71875 1.609375 -3.71875 C 1.359375 -3.71875 1.175781 -3.648438 1.0625 -3.515625 C 0.945312 -3.390625 0.890625 -3.238281 0.890625 -3.0625 C 0.890625 -2.863281 0.960938 -2.707031 1.109375 -2.59375 C 1.253906 -2.488281 1.425781 -2.4375 1.625 -2.4375 Z M 1.671875 -0.359375 C 1.910156 -0.359375 2.109375 -0.421875 2.265625 -0.546875 C 2.429688 -0.679688 2.515625 -0.882812 2.515625 -1.15625 C 2.515625 -1.425781 2.429688 -1.628906 2.265625 -1.765625 C 2.097656 -1.910156 1.882812 -1.984375 1.625 -1.984375 C 1.375 -1.984375 1.164062 -1.910156 1 -1.765625 C 0.84375 -1.617188 0.765625 -1.421875 0.765625 -1.171875 C 0.765625 -0.953125 0.835938 -0.757812 0.984375 -0.59375 C 1.128906 -0.4375 1.359375 -0.359375 1.671875 -0.359375 Z M 0.921875 -2.234375 C 0.765625 -2.296875 0.648438 -2.367188 0.578125 -2.453125 C 0.421875 -2.609375 0.34375 -2.8125 0.34375 -3.0625 C 0.34375 -3.375 0.453125 -3.640625 0.671875 -3.859375 C 0.898438 -4.085938 1.222656 -4.203125 1.640625 -4.203125 C 2.046875 -4.203125 2.363281 -4.097656 2.59375 -3.890625 C 2.820312 -3.679688 2.9375 -3.429688 2.9375 -3.140625 C 2.9375 -2.878906 2.867188 -2.671875 2.734375 -2.515625 C 2.660156 -2.421875 2.546875 -2.328125 2.390625 -2.234375 C 2.566406 -2.160156 2.703125 -2.070312 2.796875 -1.96875 C 2.984375 -1.769531 3.078125 -1.515625 3.078125 -1.203125 C 3.078125 -0.835938 2.953125 -0.523438 2.703125 -0.265625 C 2.453125 -0.00390625 2.101562 0.125 1.65625 0.125 C 1.25 0.125 0.898438 0.015625 0.609375 -0.203125 C 0.328125 -0.429688 0.1875 -0.753906 0.1875 -1.171875 C 0.1875 -1.421875 0.25 -1.632812 0.375 -1.8125 C 0.5 -2 0.679688 -2.140625 0.921875 -2.234375 Z M 0.921875 -2.234375 "/>
+</symbol>
+<symbol overflow="visible" id="glyph0-10">
+<path style="stroke: none;" d="M 0.796875 -1.015625 C 0.816406 -0.722656 0.929688 -0.519531 1.140625 -0.40625 C 1.242188 -0.351562 1.363281 -0.328125 1.5 -0.328125 C 1.75 -0.328125 1.960938 -0.429688 2.140625 -0.640625 C 2.316406 -0.847656 2.441406 -1.273438 2.515625 -1.921875 C 2.398438 -1.734375 2.253906 -1.597656 2.078125 -1.515625 C 1.910156 -1.441406 1.726562 -1.40625 1.53125 -1.40625 C 1.125 -1.40625 0.800781 -1.53125 0.5625 -1.78125 C 0.332031 -2.039062 0.21875 -2.367188 0.21875 -2.765625 C 0.21875 -3.140625 0.332031 -3.472656 0.5625 -3.765625 C 0.789062 -4.054688 1.132812 -4.203125 1.59375 -4.203125 C 2.207031 -4.203125 2.628906 -3.925781 2.859375 -3.375 C 2.984375 -3.070312 3.046875 -2.691406 3.046875 -2.234375 C 3.046875 -1.722656 2.96875 -1.269531 2.8125 -0.875 C 2.5625 -0.207031 2.128906 0.125 1.515625 0.125 C 1.109375 0.125 0.796875 0.015625 0.578125 -0.203125 C 0.367188 -0.421875 0.265625 -0.691406 0.265625 -1.015625 L 0.796875 -1.015625 Z M 1.59375 -1.875 C 1.800781 -1.875 1.988281 -1.941406 2.15625 -2.078125 C 2.332031 -2.210938 2.421875 -2.453125 2.421875 -2.796875 C 2.421875 -3.109375 2.34375 -3.335938 2.1875 -3.484375 C 2.039062 -3.640625 1.847656 -3.71875 1.609375 -3.71875 C 1.347656 -3.71875 1.140625 -3.628906 0.984375 -3.453125 C 0.835938 -3.285156 0.765625 -3.054688 0.765625 -2.765625 C 0.765625 -2.492188 0.828125 -2.273438 0.953125 -2.109375 C 1.085938 -1.953125 1.300781 -1.875 1.59375 -1.875 Z M 1.59375 -1.875 "/>
+</symbol>
+</g>
+<clipPath id="clip1">
+ <path d="M 0 0 L 361 0 L 361 51 L 0 51 Z M 0 0 "/>
+</clipPath>
+</defs>
+<g id="surface0">
+<rect x="0" y="0" width="360" height="50" style="fill: rgb(100%,100%,100%); fill-opacity: 1; stroke: none;"/>
+<g clip-path="url(#clip1)" clip-rule="nonzero">
+<g style="fill: rgb(0%,0%,0%); fill-opacity: 1;">
+ <use xlink:href="#glyph0-1" x="24.011719" y="22.417969"/>
+</g>
+<g style="fill: rgb(0%,0%,0%); fill-opacity: 1;">
+ <use xlink:href="#glyph0-2" x="36.355469" y="22.457031"/>
+</g>
+<g style="fill: rgb(0%,0%,0%); fill-opacity: 1;">
+ <use xlink:href="#glyph0-3" x="48.703125" y="22.472656"/>
+</g>
+<g style="fill: rgb(0%,0%,0%); fill-opacity: 1;">
+ <use xlink:href="#glyph0-4" x="61.046875" y="22.417969"/>
+</g>
+<g style="fill: rgb(0%,0%,0%); fill-opacity: 1;">
+ <use xlink:href="#glyph0-5" x="73.394531" y="22.472656"/>
+</g>
+<g style="fill: rgb(0%,0%,0%); fill-opacity: 1;">
+ <use xlink:href="#glyph0-6" x="85.738281" y="22.378906"/>
+</g>
+<g style="fill: rgb(0%,0%,0%); fill-opacity: 1;">
+ <use xlink:href="#glyph0-7" x="98.085938" y="22.425781"/>
+</g>
+<g style="fill: rgb(0%,0%,0%); fill-opacity: 1;">
+ <use xlink:href="#glyph0-8" x="110.429688" y="22.433594"/>
+</g>
+<g style="fill: rgb(0%,0%,0%); fill-opacity: 1;">
+ <use xlink:href="#glyph0-9" x="122.777344" y="22.410156"/>
+</g>
+<g style="fill: rgb(0%,0%,0%); fill-opacity: 1;">
+ <use xlink:href="#glyph0-10" x="135.121094" y="22.410156"/>
+</g>
+<g style="fill: rgb(0%,0%,0%); fill-opacity: 1;">
+ <use xlink:href="#glyph0-2" x="145.800781" y="22.417969"/>
+ <use xlink:href="#glyph0-1" x="149.137695" y="22.417969"/>
+</g>
+<g style="fill: rgb(0%,0%,0%); fill-opacity: 1;">
+ <use xlink:href="#glyph0-2" x="158.144531" y="22.457031"/>
+ <use xlink:href="#glyph0-2" x="161.481445" y="22.457031"/>
+</g>
+<g style="fill: rgb(0%,0%,0%); fill-opacity: 1;">
+ <use xlink:href="#glyph0-2" x="170.492188" y="22.472656"/>
+ <use xlink:href="#glyph0-3" x="173.829102" y="22.472656"/>
+</g>
+<g style="fill: rgb(0%,0%,0%); fill-opacity: 1;">
+ <use xlink:href="#glyph0-2" x="182.835938" y="22.417969"/>
+ <use xlink:href="#glyph0-4" x="186.172852" y="22.417969"/>
+</g>
+<g style="fill: rgb(0%,0%,0%); fill-opacity: 1;">
+ <use xlink:href="#glyph0-2" x="195.183594" y="22.472656"/>
+ <use xlink:href="#glyph0-5" x="198.520508" y="22.472656"/>
+</g>
+<g style="fill: rgb(0%,0%,0%); fill-opacity: 1;">
+ <use xlink:href="#glyph0-2" x="207.527344" y="22.402344"/>
+ <use xlink:href="#glyph0-6" x="210.864258" y="22.402344"/>
+</g>
+<g style="fill: rgb(0%,0%,0%); fill-opacity: 1;">
+ <use xlink:href="#glyph0-2" x="219.875" y="22.425781"/>
+ <use xlink:href="#glyph0-7" x="223.211914" y="22.425781"/>
+</g>
+<g style="fill: rgb(0%,0%,0%); fill-opacity: 1;">
+ <use xlink:href="#glyph0-2" x="232.21875" y="22.457031"/>
+ <use xlink:href="#glyph0-8" x="235.555664" y="22.457031"/>
+</g>
+<g style="fill: rgb(0%,0%,0%); fill-opacity: 1;">
+ <use xlink:href="#glyph0-2" x="244.566406" y="22.410156"/>
+ <use xlink:href="#glyph0-9" x="247.90332" y="22.410156"/>
+</g>
+<g style="fill: rgb(0%,0%,0%); fill-opacity: 1;">
+ <use xlink:href="#glyph0-2" x="256.910156" y="22.410156"/>
+ <use xlink:href="#glyph0-10" x="260.24707" y="22.410156"/>
+</g>
+<g style="fill: rgb(0%,0%,0%); fill-opacity: 1;">
+ <use xlink:href="#glyph0-3" x="269.257812" y="22.417969"/>
+ <use xlink:href="#glyph0-1" x="272.594727" y="22.417969"/>
+</g>
+<g style="fill: rgb(0%,0%,0%); fill-opacity: 1;">
+ <use xlink:href="#glyph0-3" x="281.601562" y="22.472656"/>
+ <use xlink:href="#glyph0-2" x="284.938477" y="22.472656"/>
+</g>
+<g style="fill: rgb(0%,0%,0%); fill-opacity: 1;">
+ <use xlink:href="#glyph0-3" x="293.949219" y="22.472656"/>
+ <use xlink:href="#glyph0-3" x="297.286133" y="22.472656"/>
+</g>
+<g style="fill: rgb(0%,0%,0%); fill-opacity: 1;">
+ <use xlink:href="#glyph0-3" x="306.292969" y="22.417969"/>
+ <use xlink:href="#glyph0-4" x="309.629883" y="22.417969"/>
+</g>
+<g style="fill: rgb(0%,0%,0%); fill-opacity: 1;">
+ <use xlink:href="#glyph0-3" x="318.640625" y="22.472656"/>
+ <use xlink:href="#glyph0-5" x="321.977539" y="22.472656"/>
+</g>
+<g style="fill: rgb(0%,0%,0%); fill-opacity: 1;">
+ <use xlink:href="#glyph0-3" x="330.984375" y="22.417969"/>
+ <use xlink:href="#glyph0-6" x="334.321289" y="22.417969"/>
+</g>
+<path style="fill: none; stroke-width: 0.75; stroke-linecap: round; stroke-linejoin: round; stroke: rgb(0%,0%,0%); stroke-opacity: 1;stroke-miterlimit: 10; " d="M 22.980469 36.960938 L 28.378906 36.960938 L 28.378906 31.5625 L 22.980469 31.5625 Z M 22.980469 36.960938 "/>
+<path style="fill: none; stroke-width: 0.75; stroke-linecap: round; stroke-linejoin: round; stroke: rgb(0%,0%,0%); stroke-opacity: 1;stroke-miterlimit: 10; " d="M 40.726562 34.257812 C 40.726562 37.859375 35.324219 37.859375 35.324219 34.257812 C 35.324219 30.660156 40.726562 30.660156 40.726562 34.257812 "/>
+<path style="fill: none; stroke-width: 0.75; stroke-linecap: round; stroke-linejoin: round; stroke: rgb(0%,0%,0%); stroke-opacity: 1;stroke-miterlimit: 10; " d="M 50.371094 30.058594 L 50.371094 30.058594 L 54.007812 36.359375 L 46.734375 36.359375 L 50.371094 30.058594 "/>
+<path style="fill: none; stroke-width: 0.75; stroke-linecap: round; stroke-linejoin: round; stroke: rgb(0%,0%,0%); stroke-opacity: 1;stroke-miterlimit: 10; " d="M 58.898438 34.257812 L 66.535156 34.257812 "/>
+<path style="fill: none; stroke-width: 0.75; stroke-linecap: round; stroke-linejoin: round; stroke: rgb(0%,0%,0%); stroke-opacity: 1;stroke-miterlimit: 10; " d="M 62.714844 38.078125 L 62.714844 30.441406 "/>
+<path style="fill: none; stroke-width: 0.75; stroke-linecap: round; stroke-linejoin: round; stroke: rgb(0%,0%,0%); stroke-opacity: 1;stroke-miterlimit: 10; " d="M 72.363281 36.960938 L 77.761719 31.558594 "/>
+<path style="fill: none; stroke-width: 0.75; stroke-linecap: round; stroke-linejoin: round; stroke: rgb(0%,0%,0%); stroke-opacity: 1;stroke-miterlimit: 10; " d="M 72.363281 31.558594 L 77.761719 36.960938 "/>
+<path style="fill: none; stroke-width: 0.75; stroke-linecap: round; stroke-linejoin: round; stroke: rgb(0%,0%,0%); stroke-opacity: 1;stroke-miterlimit: 10; " d="M 83.589844 34.257812 L 83.589844 34.257812 L 87.40625 30.441406 L 91.226562 34.257812 L 87.40625 38.078125 L 83.589844 34.257812 "/>
+<path style="fill: none; stroke-width: 0.75; stroke-linecap: round; stroke-linejoin: round; stroke: rgb(0%,0%,0%); stroke-opacity: 1;stroke-miterlimit: 10; " d="M 99.753906 38.457031 L 99.753906 38.457031 L 103.390625 32.160156 L 96.117188 32.160156 L 99.753906 38.457031 "/>
+<path style="fill: none; stroke-width: 0.75; stroke-linecap: round; stroke-linejoin: round; stroke: rgb(0%,0%,0%); stroke-opacity: 1;stroke-miterlimit: 10; " d="M 109.398438 36.960938 L 114.796875 36.960938 L 114.796875 31.5625 L 109.398438 31.5625 Z M 109.398438 36.960938 "/>
+<path style="fill: none; stroke-width: 0.75; stroke-linecap: round; stroke-linejoin: round; stroke: rgb(0%,0%,0%); stroke-opacity: 1;stroke-miterlimit: 10; " d="M 109.398438 36.960938 L 114.796875 31.558594 "/>
+<path style="fill: none; stroke-width: 0.75; stroke-linecap: round; stroke-linejoin: round; stroke: rgb(0%,0%,0%); stroke-opacity: 1;stroke-miterlimit: 10; " d="M 109.398438 31.558594 L 114.796875 36.960938 "/>
+<path style="fill: none; stroke-width: 0.75; stroke-linecap: round; stroke-linejoin: round; stroke: rgb(0%,0%,0%); stroke-opacity: 1;stroke-miterlimit: 10; " d="M 121.746094 36.960938 L 127.144531 31.558594 "/>
+<path style="fill: none; stroke-width: 0.75; stroke-linecap: round; stroke-linejoin: round; stroke: rgb(0%,0%,0%); stroke-opacity: 1;stroke-miterlimit: 10; " d="M 121.746094 31.558594 L 127.144531 36.960938 "/>
+<path style="fill: none; stroke-width: 0.75; stroke-linecap: round; stroke-linejoin: round; stroke: rgb(0%,0%,0%); stroke-opacity: 1;stroke-miterlimit: 10; " d="M 120.625 34.257812 L 128.261719 34.257812 "/>
+<path style="fill: none; stroke-width: 0.75; stroke-linecap: round; stroke-linejoin: round; stroke: rgb(0%,0%,0%); stroke-opacity: 1;stroke-miterlimit: 10; " d="M 124.445312 38.078125 L 124.445312 30.441406 "/>
+<path style="fill: none; stroke-width: 0.75; stroke-linecap: round; stroke-linejoin: round; stroke: rgb(0%,0%,0%); stroke-opacity: 1;stroke-miterlimit: 10; " d="M 132.972656 34.257812 L 140.609375 34.257812 "/>
+<path style="fill: none; stroke-width: 0.75; stroke-linecap: round; stroke-linejoin: round; stroke: rgb(0%,0%,0%); stroke-opacity: 1;stroke-miterlimit: 10; " d="M 136.789062 38.078125 L 136.789062 30.441406 "/>
+<path style="fill: none; stroke-width: 0.75; stroke-linecap: round; stroke-linejoin: round; stroke: rgb(0%,0%,0%); stroke-opacity: 1;stroke-miterlimit: 10; " d="M 132.972656 34.257812 L 132.972656 34.257812 L 136.789062 30.441406 L 140.609375 34.257812 L 136.789062 38.078125 L 132.972656 34.257812 "/>
+<path style="fill: none; stroke-width: 0.75; stroke-linecap: round; stroke-linejoin: round; stroke: rgb(0%,0%,0%); stroke-opacity: 1;stroke-miterlimit: 10; " d="M 151.835938 34.257812 C 151.835938 37.859375 146.4375 37.859375 146.4375 34.257812 C 146.4375 30.660156 151.835938 30.660156 151.835938 34.257812 "/>
+<path style="fill: none; stroke-width: 0.75; stroke-linecap: round; stroke-linejoin: round; stroke: rgb(0%,0%,0%); stroke-opacity: 1;stroke-miterlimit: 10; " d="M 146.4375 34.257812 L 151.835938 34.257812 "/>
+<path style="fill: none; stroke-width: 0.75; stroke-linecap: round; stroke-linejoin: round; stroke: rgb(0%,0%,0%); stroke-opacity: 1;stroke-miterlimit: 10; " d="M 149.136719 36.960938 L 149.136719 31.558594 "/>
+<path style="fill: none; stroke-width: 0.75; stroke-linecap: round; stroke-linejoin: round; stroke: rgb(0%,0%,0%); stroke-opacity: 1;stroke-miterlimit: 10; " d="M 161.480469 38.457031 L 161.480469 38.457031 L 165.117188 31.109375 L 157.84375 31.109375 L 161.480469 38.457031 "/>
+<path style="fill: none; stroke-width: 0.75; stroke-linecap: round; stroke-linejoin: round; stroke: rgb(0%,0%,0%); stroke-opacity: 1;stroke-miterlimit: 10; " d="M 161.480469 30.058594 L 161.480469 30.058594 L 165.117188 37.410156 L 157.84375 37.410156 L 161.480469 30.058594 "/>
+<path style="fill: none; stroke-width: 0.75; stroke-linecap: round; stroke-linejoin: round; stroke: rgb(0%,0%,0%); stroke-opacity: 1;stroke-miterlimit: 10; " d="M 171.128906 34.257812 L 176.527344 34.257812 "/>
+<path style="fill: none; stroke-width: 0.75; stroke-linecap: round; stroke-linejoin: round; stroke: rgb(0%,0%,0%); stroke-opacity: 1;stroke-miterlimit: 10; " d="M 173.828125 36.960938 L 173.828125 31.558594 "/>
+<path style="fill: none; stroke-width: 0.75; stroke-linecap: round; stroke-linejoin: round; stroke: rgb(0%,0%,0%); stroke-opacity: 1;stroke-miterlimit: 10; " d="M 171.128906 36.960938 L 176.527344 36.960938 L 176.527344 31.5625 L 171.128906 31.5625 Z M 171.128906 36.960938 "/>
+<path style="fill: none; stroke-width: 0.75; stroke-linecap: round; stroke-linejoin: round; stroke: rgb(0%,0%,0%); stroke-opacity: 1;stroke-miterlimit: 10; " d="M 188.871094 34.257812 C 188.871094 37.859375 183.472656 37.859375 183.472656 34.257812 C 183.472656 30.660156 188.871094 30.660156 188.871094 34.257812 "/>
+<path style="fill: none; stroke-width: 0.75; stroke-linecap: round; stroke-linejoin: round; stroke: rgb(0%,0%,0%); stroke-opacity: 1;stroke-miterlimit: 10; " d="M 183.472656 36.960938 L 188.871094 31.558594 "/>
+<path style="fill: none; stroke-width: 0.75; stroke-linecap: round; stroke-linejoin: round; stroke: rgb(0%,0%,0%); stroke-opacity: 1;stroke-miterlimit: 10; " d="M 183.472656 31.558594 L 188.871094 36.960938 "/>
+<path style="fill: none; stroke-width: 0.75; stroke-linecap: round; stroke-linejoin: round; stroke: rgb(0%,0%,0%); stroke-opacity: 1;stroke-miterlimit: 10; " d="M 198.519531 36.960938 L 198.519531 36.960938 L 201.21875 31.558594 L 195.820312 31.558594 L 198.519531 36.960938 "/>
+<path style="fill: none; stroke-width: 0.75; stroke-linecap: round; stroke-linejoin: round; stroke: rgb(0%,0%,0%); stroke-opacity: 1;stroke-miterlimit: 10; " d="M 195.820312 31.558594 L 201.21875 31.558594 L 201.21875 36.957031 L 195.820312 36.957031 Z M 195.820312 31.558594 "/>
+<path style=" stroke:none;fill-rule: nonzero; fill: rgb(0%,0%,0%); fill-opacity: 1;" d="M 208.164062 36.960938 L 208.164062 36.960938 L 213.5625 36.960938 L 213.5625 31.558594 L 208.164062 31.558594 Z M 208.164062 36.960938 "/>
+<path style=" stroke:none;fill-rule: nonzero; fill: rgb(0%,0%,0%); fill-opacity: 1;" d="M 225.910156 34.257812 C 225.910156 37.859375 220.511719 37.859375 220.511719 34.257812 C 220.511719 30.660156 225.910156 30.660156 225.910156 34.257812 "/>
+<path style=" stroke:none;fill-rule: nonzero; fill: rgb(0%,0%,0%); fill-opacity: 1;" d="M 235.554688 30.058594 L 235.554688 30.058594 L 239.191406 36.359375 L 231.917969 36.359375 Z M 235.554688 30.058594 "/>
+<path style=" stroke:none;fill-rule: nonzero; fill: rgb(0%,0%,0%); fill-opacity: 1;" d="M 245.203125 34.257812 L 245.203125 34.257812 L 247.902344 31.558594 L 250.601562 34.257812 L 247.902344 36.960938 Z M 245.203125 34.257812 "/>
+<path style="fill-rule: nonzero; fill: rgb(0%,0%,0%); fill-opacity: 1;stroke-width: 0.75; stroke-linecap: round; stroke-linejoin: round; stroke: rgb(0%,0%,0%); stroke-opacity: 1;stroke-miterlimit: 10; " d="M 262.945312 34.257812 C 262.945312 37.859375 257.546875 37.859375 257.546875 34.257812 C 257.546875 30.660156 262.945312 30.660156 262.945312 34.257812 "/>
+<path style="fill-rule: nonzero; fill: rgb(0%,0%,0%); fill-opacity: 1;stroke-width: 0.75; stroke-linecap: round; stroke-linejoin: round; stroke: rgb(0%,0%,0%); stroke-opacity: 1;stroke-miterlimit: 10; " d="M 274.394531 34.257812 C 274.394531 36.660156 270.792969 36.660156 270.792969 34.257812 C 270.792969 31.859375 274.394531 31.859375 274.394531 34.257812 "/>
+<path style="fill-rule: nonzero; fill: rgb(74.509804%,74.509804%,74.509804%); fill-opacity: 1;stroke-width: 0.75; stroke-linecap: round; stroke-linejoin: round; stroke: rgb(0%,0%,0%); stroke-opacity: 1;stroke-miterlimit: 10; " d="M 287.636719 34.257812 C 287.636719 37.859375 282.238281 37.859375 282.238281 34.257812 C 282.238281 30.660156 287.636719 30.660156 287.636719 34.257812 "/>
+<path style="fill-rule: nonzero; fill: rgb(74.509804%,74.509804%,74.509804%); fill-opacity: 1;stroke-width: 0.75; stroke-linecap: round; stroke-linejoin: round; stroke: rgb(0%,0%,0%); stroke-opacity: 1;stroke-miterlimit: 10; " d="M 294.890625 36.652344 L 299.675781 36.652344 L 299.675781 31.867188 L 294.890625 31.867188 Z M 294.890625 36.652344 "/>
+<path style="fill-rule: nonzero; fill: rgb(74.509804%,74.509804%,74.509804%); fill-opacity: 1;stroke-width: 0.75; stroke-linecap: round; stroke-linejoin: round; stroke: rgb(0%,0%,0%); stroke-opacity: 1;stroke-miterlimit: 10; " d="M 309.628906 37.644531 L 309.628906 37.644531 L 313.011719 34.257812 L 309.628906 30.875 L 306.246094 34.257812 Z M 309.628906 37.644531 "/>
+<path style="fill-rule: nonzero; fill: rgb(74.509804%,74.509804%,74.509804%); fill-opacity: 1;stroke-width: 0.75; stroke-linecap: round; stroke-linejoin: round; stroke: rgb(0%,0%,0%); stroke-opacity: 1;stroke-miterlimit: 10; " d="M 321.976562 30.058594 L 321.976562 30.058594 L 325.613281 36.359375 L 318.339844 36.359375 Z M 321.976562 30.058594 "/>
+<path style="fill-rule: nonzero; fill: rgb(74.509804%,74.509804%,74.509804%); fill-opacity: 1;stroke-width: 0.75; stroke-linecap: round; stroke-linejoin: round; stroke: rgb(0%,0%,0%); stroke-opacity: 1;stroke-miterlimit: 10; " d="M 334.320312 38.457031 L 334.320312 38.457031 L 337.957031 32.160156 L 330.683594 32.160156 Z M 334.320312 38.457031 "/>
+</g>
+</g>
+</svg>
View
18 src/library/graphics/man/points.Rd
@@ -1,6 +1,6 @@
% File src/library/graphics/man/points.Rd
% Part of the R package, http://www.R-project.org
-% Copyright 1995-2010 R Core Development Team
+% Copyright 1995-2011 R Core Development Team
% Distributed under GPL 2 or later
\name{points}
@@ -86,11 +86,16 @@ points(x, \dots)
Note that unlike S (which uses octagons), symbols \code{1}, \code{10},
\code{13} and \code{16} use circles. The filled shapes \code{15:18}
do not include a border.
+
+ \if{text}{\figure{}{Illustration of pch 0:25}}
+% \if{html}{\figure{pch.svg}{Illustration of pch 0:25}}
+ \if{html}{\figure{pch.png}{Illustration of pch 0:25}}
+ \if{latex}{\figure{pch.pdf}{options: width=15cm}}
The following \R plotting symbols are can be obtained with
\code{pch=19:25}: those with \code{21:25} can be colored and
filled with different colors: \code{col} gives the border color
- and \code{bg} the background color.
+ and \code{bg} the background color (which is \samp{"grey"} in the figure):
\itemize{
\item \code{pch=19}: solid circle,
\item \code{pch=20}: bullet (smaller solid circle, 2/3 the size of 19),
@@ -166,6 +171,15 @@ plot(x, sin(x), type="o", pch=21, bg=par("bg"), col = "blue", cex=.6,
main='plot(..., type="o", pch=21, bg=par("bg"))')
par(op)
+\dontrun{
+## The figure was produced by calls like
+png("pch.png", height=0.7, width = 7, res = 100, units="in")
+par(mar = rep(0,4))
+plot(c(-1, 26), 0:1, type="n", axes= FALSE)
+text(0:25, 0.6, 0:25, cex = 0.5)
+points(0:25, rep(0.3, 26), pch = 0:25, bg = "grey")
+}
+
##-------- Showing all the extra & some char graphics symbols ---------
pchShow <-
function(extras = c("*",".", "o","O","0","+","-","|","\%","#"),
Please sign in to comment.
Something went wrong with that request. Please try again.