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)ImposeVectorField returns nothing.
must be a single value containing the desired number of arrows horizontally.
must be a single value containing the desired number of arrows vertically.
must be a single value containing the desired color for the main wind direction arrow.
must be a single value containing the desired color for the secondary arrows representing the standard deviation arrows. Only used if DoSDs = TRUE.
must be a single value containing the desired length information for the arrows. Will be passed to GetArrow internally.
must be TRUE or FALSE. If TRUE, will not only draw one arrow for the main wind direction per point, but also two additional arrows (using color ColBand) representing the main wind direction plus/minus half the standard deviation.
Carsten Croonenbroeck
This function will be used internally by PlotResult.
ImposeVectorField requires FarmData to be present and an existing plot to impose the vector field over.
Use PlotResult to visualize the optimization result.
plot(c(0, 1), c(0, 1))
ImposeVectorField(ColBand = "red")
Run the code above in your browser using DataLab