Skip to content

Tag Archives: R Graphics-Functions

title() function in R Language is used to add main title and axis title to a graph. This function can also be used to modify… Read More
legend() function in R Language is used to add legends to an existing Plot. A legend is defined as an area of the graph plot… Read More
terrain.colors() function in R Language is used to generate a Vector of specified length with each element as a unique color on RG scale in… Read More
cm.colors() function in R Language is used to generate a Vector of specified length with each element as a unique color on RB scale in… Read More
topo.colors() function in R Language is used to generate a Vector of specified length with each element as a unique color on RGB scale. This… Read More
heat.colors() function in R Language is used to create a ramp of contiguous colors clustered around the color orange in the red spectrum of the… Read More
heatmap() function in R Language is used to plot a heatmap. Heatmap is defined as a graphical representation of data using colors to visualize the… Read More
palette() function in R Language is used to set or view The Graphics Palette. Syntax: palette(value) Parameters: value: an optional character vector. Example 1: #… Read More
rgb2hsv() function in R Language is used to transform colors from RGB space(red / green / blue) into HSV space(hue / saturation / value). Syntax:… Read More
hsv() function in R Language is used to create a vector of colors from vectors specifying hue, saturation and value. Syntax: hsv(h, s, v) Parameters:… Read More
hcl() function in R Language is used to create a vector of colors from vectors specifying hue, chroma and luminance. Syntax: hcl(h, c, l) Parameters:… Read More
gray() or grey() function in R Language is used to create a vector of colors from a vector of gray levels. Syntax: gray(level) or grey(level)… Read More

Start Your Coding Journey Now!