Monatsarchiv: Februar 2016

Data visualization in R: Legend

If you show different data sets in one plot it becomes necessary to label these data sets. This is normally done by adding a legend. So let’s have a look at an example. The following code creates a plot to … Weiterlesen

Veröffentlicht unter R | Kommentar hinterlassen

Data visualization in R: Axis tick marks

You can use the axis function to customize the tick marks of your plot. The parameter of this function will allow you to define the tick values, their labels and the drawing direction and size of the tick marks. Let … Weiterlesen

Veröffentlicht unter R | Kommentar hinterlassen

Data visualization in R: Two different x-axes

It is possible to create two different axes for x values. So you may show two different data sets within one plot. In this article we want to implement an example plot to show a weather forecast which contains the … Weiterlesen

Veröffentlicht unter R | Kommentar hinterlassen

Data visualization in R: Axis position

A standard plot provides an x-axis on the bottom and a y-axis on the left side. It is also possible to change the position of these axes. The position can be passed as parameter. The following example will create a … Weiterlesen

Veröffentlicht unter R | Kommentar hinterlassen