User Tools

Site Tools


Sidebar

projects

uxi0 (due 20180117)
wcp1 (due 20180117)
adm0 (due 20180124)
wcp2 (due 20180124)
pbx0 (due 20180131)
wcp3 (due 20180131)
pbx1 (due 20180207)
wcp4 (due 20180207)
pbx2 (due 20180214)
wcp5 (due 20180214)
usr0 (due 20180228)
wcp6 (due 20180228)
pbx3 (bonus due 20180228)
upf0 (due 20180307)
wcp7 (due 20180307)
upf1 (due 20180314)
wcp8 (due 20180314)
spf0 (due 20180321)
pwn0 (due 20180321)
wcp9 (due 20180321)
gfo0 (due 20180411)
wcpA (due 20180328)
wpa0 (bonus due 20180411)
wcpB (due 20180411)
gtf0 (due 20180418)
wcpC (due 20180418)
icp0 (due 20180425)
haas:spring2018:unix:projects:gtf0

This is an old revision of the document!


Corning Community College

CSCS1730 UNIX/Linux Fundamentals

Project: GRAPHING TREND FIGURES (gtf0)

Errata

  • any bugfixes or project updates will be posted here

Objective

Recently, you spent some quality time with your raw class status data and writing a script to scrape, process, and output meaningful results.

Here we will be taking that to the next step, in appealing to our more visual tendencies: you will be writing a script and coordinating the various tools necessary to graph your project results against the class high, average, median, and low scores for each project (effectively, a graph plotting 5 different trend lines).

Background

Visualization has a number of uses, not only in computing, but in general: our minds are visual engines; we have phrases like “a picture is worth a thousand words”, and there is a considerable amount of truth to that. We can only process so much discrete data at any given moment, yet when there exist instances where we need to process considerably more data than we can take in, we turn to things like visual representations of the data.

By eliminating the exact, and potentially numerous discrete numeric values that would be impossible to keep track of (and formulate proper analyses of), by visually representing the data, both the general sense of the values are preserved, without overwhelming us, and allowing to take in a much broader picture that may be more challenging to do if all we had were an endless stream of numbers to evaluate.

This project has us taking that step, taking our data we now have experience in gathering, and plotting it against various class benchmarks, so we can better gauge our overall progress in the class.

Plotting with gnuplot

For this project, we will be making use of the venerable gnuplot tool. Like many powerful tools we have encountered this semester, we seek only to scratch the surface, and start to familiarize ourselves with the powerful capabilities this resource offers us.

Following will be some usage examples to help you get a

Your Task

Your task for this project is as follows:

  • write a script gtf0.sh that when run:
    • from the class status page, scrapes:
      • the list of projects, the lowscore, average, median, and hiscore values of each of the evaluated projects
        • places these values in columns (a projects column, a lowscore column, an average column, etc.) in a gtf0.dat file
    • from your ~/info/status/unix.projects file in your home directory:
      • obtains the scores and totals of each of the evaluated unix projects
      • calculates the score (out of 100) of each individual project
        • places these calculated scores as a final column in your gtf0.dat file
    • constructs a gtf0.gp gnuplot file that:
      • creates a graph title of “USER SEMESTER/DESIG class status”
        • where USER, SEMESTER, and DESIG are replaced with their pertinent (and lowercase represented) values
          • for instance, DESIG in our case is: unix
      • sets a y axis label of 'Value'
      • sets an x axis label of 'Project'
haas/spring2018/unix/projects/gtf0.1523213226.txt.gz · Last modified: 2018/04/08 18:47 by wedge