Displaying 1 result from an estimated 1 matches for "data_plot".
Did you mean:
data_blob
2011 Feb 10
1
Ggplot: free x-scales in a facet-grid
...the index 'pos', split
date = 01/12/2010), so the left part of the plot are the time values before
this date (scale_x_datetime major = 1 year), and the right part of the plot
are the time values after this date (scale_x_datetime major=1 day).
Hereby also the R-code (simplified):
ggplot(data_plot.melt,aes(timevalue,ID)) +
geom_point(aes(groups=timetype,colour=timetype,shape=timetype)) +
facet_grid(type ~pos,scales="free",space="free") +
xlab(NULL) + ylab(NULL)
The scales of y has to be free, because the number of ID's per type differ.
The scales of x has to be free...