Hi,
In order to plot data, usually you first put the data in a file, organised in 2 columns (for the simplest graph), where the first column is the X and the second column is the Y point coordinated (time and value, for example).
The data have to be separated by one or more blank characters (spaces or tabs).
The file have to be a simple text file.
Then you open gnuplot and, assuming that your data are in a file named "data.txt", you give gnuplot the command plot "data.txt"
However, this is the ns-3 user group discussion, not the gnuplot one...
Hence, please, Read The [...] Manual !
T.