Learn R Programming

cwhmisc (version 5.0)

plotSymbols: 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
  • chcharacter value of symbol
  • decdecimal value of symbol
  • hexhex value of symbol
  • octoctal value of symbol

Examples

Run this code
# 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)

Run the code above in your browser using DataLab