I'm trying the plot a simple scatter plot: X axis is for student graduation term and Y axis is their GPA.
Below is how I read the data (Graduated08 is the file name):
Graduated08 <- read.csv (file="200804_Graduated.csv",
+ header = TRUE,
+ na.strings = "NA")
Below is the first a couple of rows of this data set:
Grad_Term GPA
201302 3.560809
201403 3.013043
201202 4.000000
201302 3.344286
201204 3.596993
201401 3.393704
Above, 201302 stands for Spring term of 2013, 201202 stands for Spring term of 2012. Basically the naming convention is like this: the first four digits represent the year and the last two digits represent a particular term in that year (01-Winter term, 02-Spring term, 03-Summer term, 04-Fall term).
I used the following R codes to get a simple scatter plot
**> plot (x= Graduated08$Grad_Term,
+ y= Graduated08$GPA
+ )**
However, I got a plot that messed up with the X axis. Y axis looks fine, but X axis (Grad_Term) is messed up. Instead of having 201201, 201202, 201203 and 201204 separated out, the plot seems to group all these terms into one variable which is labeled as "201200". Same thing happened for other years (only see 201300, 201400 etc). I want to have all the four terms in a year be plotted out separately.

str(Graduated08)? - alexwhan