ImposeVectorField {wflo} | R Documentation |
Simple helper function for PlotResult
.
Description
Draws a set of arrows over an existing plot. Will be used internally by PlotResult
to visualize the vector field of wind directions over a plot of the wind farm.
Usage
ImposeVectorField(xNum = 5, yNum = 5, ColMain = "black",
ColBand = "white", Frac = 25, DoSDs = TRUE)
Arguments
xNum |
must be a single value containing the desired number of arrows horizontally. |
yNum |
must be a single value containing the desired number of arrows vertically. |
ColMain |
must be a single value containing the desired color for the main wind direction arrow. |
ColBand |
must be a single value containing the desired color for the secondary arrows representing the standard deviation arrows. Only used if |
Frac |
must be a single value containing the desired length information for the arrows. Will be passed to |
DoSDs |
must be |
Details
This function will be used internally by PlotResult
.
ImposeVectorField
requires FarmData
to be present and an existing plot to impose the vector field over.
Value
ImposeVectorField
returns nothing.
Author(s)
Carsten Croonenbroeck
See Also
Use PlotResult
to visualize the optimization result.
Examples
plot(c(0, 1), c(0, 1))
ImposeVectorField(ColBand = "red")