Changes between Version 10 and Version 11 of GIMIv1.1Tutorial/Analyze


Ignore:
Timestamp:
10/23/12 22:01:00 (7 years ago)
Author:
zink@cs.umass.edu
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GIMIv1.1Tutorial/Analyze

    v10 v11  
    5353
    5454
     55{{{
     56library(RSQLite)
     57con <- dbConnect(dbDriver("SQLite"), dbname = "gimi20-otg-nmetrics.sq3")
     58dbListTables(con)
     59dbReadTable(con,"otr2_udp_in")
     60mydata <- dbGetQuery(con, "select pkt_length from otr2_udp_in where src_host='192.168.4.10'")
     61pkt_length <- mydata$pkt_length/1024/1024*8
     62pdf("gimi31_otg1.pdf", height=5.5, width=7, pointsize=14)
     63plot(pkt_length,type="o",col="red",xlab="Experiment Interval",ylab="Packet size")
     64title(main="Received packet size with sender address 192.168.4.10", col.main="blue", font.main=4)
     65dev.off()
     66}}}
    5567
    5668