if (argType.equals("java.lang.Long"))
argValue = new Long(argStringValue);
else
throw new IllegalArgumentException("cannot load a value of type "+argType);
RGraph thisPlot = nameToGraph.get(name);
if (thisPlot == null)
throw new IllegalArgumentException("unknown graph with file name "+name);
if(thisPlot.getFileName().endsWith(".csv"))
thisPlot.addPairValues((Comparable)argValue, yValue, color, label);
else
thisPlot.add((Comparable)argValue, yValue, color, label);
line = reader.readLine();
}