About types
Title
Question
what does type='l" refers here in plot(x,y,type="l")
Plz name the different types available.
R Introduction-to-basics-of-R 09-10 min 10-20 sec
Answers:
type="l" states that the resultant plot will be a line in an x-y plane.
Following are all the possible types -
"p" for points,
"l" for lines,
"b" for both,
"c" for the lines part alone of "b",
"o" for both overplotted,
"h" for histogram like (or high-density) vertical lines,
"s" for stair steps,
"S" for other steps,
"n" for no plotting.
Please type ?plot in your Console window and press Enter to know more about this command.
"p" for points,
"l" for lines,
"b" for both,
"o" for both overplotted,
"h" for histogram like (or high-density) vertical lines,
"s" for stair steps,
"S" for other steps,
"n" for no plotting.
Login to add comment