I've a factor vector containing 25 unique variables for categorizing two numeric variables (x,y) I want to plot for each single factor a scatterplot
    for (factor in Coordinates$matrixID) {
    dev.new()
   plot(grid, type = "n")
vectorField(Coordinates$Angle,Coordinates&Length,Coordinates$x,Coordinates$y,scale=0.15, headspan=0, vecspec="deg")
    }
This function result in generating 63 identical graphs of overall data. I want 25 different graphs, one for each factor
Could you please help me, Thanks
EDIT: Example given
             library(VecStatGraphs2D) 
        Data <- data.frame(
        x = sample(1:100),
        y = sample(1:100), 
        angle = sample(1:100), 
        lenght = sample(1:100), 
        matrixID = sample(letters[1:25], 20, replace = TRUE))
             for (factor in matrixID) {
                 dev.new()    
                 plot(grid, type = "n") V
VectorField(Data$angle,Data$lenght,Data$x,Data$y,scale=0.15,headspan=0, vecspec="deg")
                 }
 
     
    