Return-Path: lccheung@usc.edu
Delivery-Date: Thu Feb 22 14:37:38 2007
X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on merlot.usc.edu
X-Spam-Level: 
X-Spam-Status: No, score=-3.5 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 
	autolearn=ham version=3.1.3
Received: from msg-mx5.usc.edu (msg-mx5.usc.edu [128.125.137.10])
	by merlot.usc.edu (8.13.5/8.13.5) with ESMTP id l1MMbcp1014529
	for <cs551@merlot.usc.edu>; Thu, 22 Feb 2007 14:37:38 -0800
Received: from [204.57.0.90] by msg-mx5.usc.edu
 (Sun Java System Messaging Server 6.2-7.05 (built Sep  5 2006))
 with ESMTPA id <0JDV00AEAYQR3T60@msg-mx5.usc.edu> for cs551@merlot.usc.edu;
 Thu, 22 Feb 2007 14:35:23 -0800 (PST)
Date: Thu, 22 Feb 2007 14:32:26 -0800
From: Leslie Cheung <lccheung@usc.edu>
Subject: cs551: hw2 xgraph format
Sender: lccheung@usc.edu
To: cs551@merlot.usc.edu
Message-id: <45DE19FA.8070109@usc.edu>
MIME-version: 1.0
Content-type: text/plain; charset=ISO-8859-1; format=flowed
Content-transfer-encoding: 7bit
User-Agent: Thunderbird 1.5.0.5 (X11/20060808)

Hi class,

I got a question during my office hour regarding hw2 (you might want to 
check back when you start working on hw2). In hw2, you are asked to plot 
size of the TCP congestion window using xgraph.

A student asked me how you should format your data and plot it using 
xgraph. You need to write a Tcl script to tell ns-2 output the data in 
the following format.

[time1] [congestion window size at time1]
[time2] [congestion window size at time2]
...

For example,

0 1
0.005 1
0.010 1
0.015 2
0.020 2
...


--Leslie



