dankelley / plan

R package for project planning
https://dankelley.github.io/plan/
33 stars 9 forks source link

Month markers don't line up where they should #1

Closed richardsc closed 9 years ago

richardsc commented 12 years ago

Example .dat file:

Key, Description,            Start,      End,        Done, NeededBy
  1, Finish intbeach paper,  2012-03-01, 2012-03-21,    90
  2, Write Introduction,     2012-03-25, 2012-04-20,    0
  3, Write Exp Chapter,      2012-04-01, 2012-04-20,    25
  4, Do Eflux work,          2012-04-01, 2012-04-24,    40
  5, Write Eflux chapter,    2012-04-01, 2012-05-15,    0
  6, Write turb chapter,     2012-04-01, 2012-04-30,    0
  7, Do Gen work,            2012-04-01, 2012-06-01,    25
  8, Write gen chapter,      2012-04-01, 2012-06-01,    0
  9, Write conclusions,      2012-04-01, 2012-06-04,    0
 10, Draft to committee,     2012-06-08, 2012-06-22,    0
 11, Committee revisions,    2012-06-22, 2012-07-06,    0 
 10, Defense prep,           2012-07-06, 2012-08-20,    0
dankelley commented 12 years ago

I think it's better now. Can you check? Test code is below.

library(plan)
g <- read.gantt('a.plan')
plot(g)
abline(v=as.POSIXct("2012-03-01"))