ImposeVectorField | R Documentation |
PlotResult
.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.
ImposeVectorField(xNum = 5, yNum = 5, ColMain = "black", ColBand = "white", Frac = 25, DoSDs = TRUE)
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 |
This function will be used internally by PlotResult
.
ImposeVectorField
requires FarmData
to be present and an existing plot to impose the vector field over.
ImposeVectorField
returns nothing.
Carsten Croonenbroeck
Use PlotResult
to visualize the optimization result.
plot(c(0, 1), c(0, 1)) ImposeVectorField(ColBand = "red")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.