CSC151.01 2006S, Class 50: Multivariate Data Visualization (1) Admin: * Yesterday: 4:00 p.m. talk, 5:00 p.m. meeting, 6:00 p.m. department dinner, 7:30 pm. building meeting, home at 10:00 p.m. * Today: 8:30 a.m. meeting at Glove Factor, 10:00 meeting, 11:00 class, 12:00 meeting, 12:30 meeting. * So ... not many email questions answered. * I'll answer more exam questions in class today. Overview: * Short introduction to data visualization. * Lab. /Exam Questions/ * How do we deal with random students in problem 1? > (define students (list (random-student) (random-student) (random-student))) > students (# # #) > (map (lambda (student) (student ':get-last-name)) students) ("Smith" "Jones" "Smith") > (sorted? students (lambda (student1 student2) ... (student1 ':get-last-name) (student2 ':get-last-name))) /Data Visuailzation/ * Pictures help us understand information * Problem: More complex information As programmers, how would we draw a diagram for the data 2000 19000 2001 20000 2002 22000 2003 25000 2004 35000 * Read the data from a file * Create an image in the GIMP * Mentally, think about mapping the first value to x coord and the second value to the y coordinte * Set up coordinate system * Draw it * Think about the range of x's and y's * Convert values from new coordinate system to the GIMP's coord system * For each line of the data convert to GIMP coordinate system draw something