# Plot a 'gv' object

### Description

Plot the semi-variogram in a gv object. If a multiple genetic distances are found, it plots the median value and the 95% confidence interval for the median.

### Usage

1 2 3 |

### Arguments

`x` |
'gv' object as given by 'gen.variogram'. |

`line.res` |
Number of points in the model line. |

`pch` |
Symbol to be used in the plot. |

`legend` |
Boolean indicating if a legend showing |

`leg.x` |
The x position for the legend. The legend will be placed at the right side of the plot if this value is set to NA. |

`leg.y` |
The y position for the legned. The legend will be placed at the bottom of the plot if this value is set to NA. |

`leg.cex` |
Multiplication factor for the legend symbol size. |

`...` |
Further plotting arguments to be passed. |

### Details

Simple plot of the semi-variogram contained in a 'gv' object. If the object has a model, the model line is also plotted.

### Value

Plot.

### Author(s)

Pedro Tarroso <ptarroso@cibio.up.pt>

### See Also

`gen.variogram`

### Examples

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | ```
data(vipers)
data(d.gen)
# create a distance matrix between samples
r.dist <- dist(vipers[,1:2])
# fit a variogram with defaults (shperical model) and estimation of range
gv <- gen.variogram(r.dist, d.gen, 0.25)
#plot semi-variogram
plot(gv)
# plot semi-variogram with model
gv <- gv.model(gv)
plot(gv)
``` |