plotSymbols {cwhmisc}R Documentation

Plot symbols, colours, and allow to choose

Description

A plot of symbols is generated. By clicking the mouse on a symbol the numeric codes are given in ASCII, octal, hex. Plot symbols depending on font.

Usage

plotSymbols(interactive=FALSE)
availColors(indx = 0:6)
plotSymbolsFonts(fn=1)

Arguments

interactive

allow choice of symbols

indx

indices of panels showing 100 colours each

fn

a font number 1 ... 5

Value

list of

ch

character value of symbol

dec

decimal value of symbol

hex

hex value of symbol

oct

octal value of symbol

Note

To turn off the click-bell do 'options(locatorBell=FALSE)' (see ?locator).

Author(s)

Henrik Bengtsson hb@maths.lth.se, adapted by Christian W. Hoffmann, christian@echoffmann.ch

Examples

  # A first impression:
    opar <- par(mfrow=c(1,2))
  n<-1:34; plot(n,pch=n) # There is a gap between 25 and 34
  plotSymbols(TRUE)
  par(opar)

[Package cwhmisc version 6.6 Index]