Blog

PCH which stands for Plotting Characters , provides ability to plot different symbols in the Plots being drawn using R .

Following is the list of 26 symbols and their corresponding pch values -

  • pch = 0,square
  • pch = 1,circle
  • pch = 2,triangle point up
  • pch = 3,plus
  • pch = 4,cross
  • pch = 5,diamond
  • pch = 6,triangle point down
  • pch = 7,square cross
  • pch = 8,star
  • pch = 9,diamond plus
  • pch = 10,circle plus
  • pch = 11,triangles up and down
  • pch = 12,square plus
  • pch = 13,circle cross
  • pch = 14,square and triangle down
  • pch = 15, filled square
  • pch = 16, filled circle
  • pch = 17, filled triangle point-up
  • pch = 18, filled diamond
  • pch = 19, solid circle
  • pch = 20,bullet (smaller circle)
  • pch = 21, filled circle blue
  • pch = 22, filled square blue
  • pch = 23, filled diamond blue
  • pch = 24, filled triangle point-up blue
  • pch = 25, filled triangle point down blue

Example -
# Use solid circle plot(x, y, pch = 19)

Thanks & Happy Learning !!
Priyaranjan Mohanty
@AUTHOR : Admin

Tags:Eco, Water, Air, Environment

Comments (0)

    No Comments Found
Leave a Comment