numRows, numCols, plotNum as variables