germany.plot | R Documentation |
Displaying data over the administrative districts of Germany
germany.plot(vect, col=NULL, zlim=range(vect), legend=TRUE,
main=NULL, cex.axis=1, cex.main=1.5, add=FALSE, ... )
vect |
vector of length 544 |
col |
color scheme to be used. By default uses |
zlim |
the minimum and maximum values for which colors should be
plotted, defaulting to the range of |
legend |
Should the legend be added, see ‘Details’. |
main |
an overall title for the plot. |
cex.axis |
label size of legend. |
cex.main |
label size of overall plot title. |
add |
logical, if true adds to current plot. |
... |
additional arguments passed to |
The legend is only added, provided (a) function
image.plot
is available.
The perfect position of the legend is an art per se and depends on
various par
parameters. One possiblity for finer control is to
not plot it and to manually call the function
image.plot
of fields.
Reinhard Furrer
See also https://de.wikipedia.org/wiki/Amtlicher_Gemeindeschl%C3%BCssel and https://de.wikipedia.org/wiki/Liste_der_Landkreise_in_Deutschland
Oral
.
data( Oral)
germany.plot( Oral$Y/Oral$E)
# Plot the Bundeslaender:
germany.plot(germany.info$id%/%1000,col=rep(2:8,3), legend=FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.