Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

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

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)

cwhmisc

Miscellaneous Functions for Math, Plotting, Printing, Statistics, Strings, and Tools

v6.6
GPL (>= 2)
Authors
Christian W. Hoffmann
Initial release
2018-08-24, 10:40:10

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.