First question: why do you want to do this? It makes no sense to show a graph based on coordinates if your axes are not coordinates. If you really want to do this, you can convert it to a factor. Be careful when placing an order:
dts <- c(as.Date( c('31-10-2011', '01-11-2011', '02-11-2011', '05-11-2011'),format="%d-%m-%Y")) dtsf <- format(dts, format= '%d%b') df <- data.frame(dt=ordered(dtsf,levels=dtsf),val=seq_along(dts)) ggplot(df, aes(dt,val)) + geom_point()

You must be careful with factors, since the order is arbitrary in the coefficient, unless you make it an ordered factor. Since factors are sorted alphabetically by default, you may encounter some date formats. So be careful what you do. If you do not take into account the order, you get:
df <- data.frame(dt=factor(dtsf),val=seq_along(dts)) ggplot(df, aes(dt,val)) + geom_point()

Joris meys
source share