search for: position_identity

Displaying 2 results from an estimated 2 matches for "position_identity".

2008 Feb 15
1
ggplot2 used in a function - variable scope/environment
...x=NA, y=NA) + (x=c(0, 0.25, 0.5, 0.75, 1), y=c(0.180036717548597, -0.369556903134046, -0.924474152821948, -2.40773640658189, 0.801471591443009)) stat_sort: (...=) + (x=c(0, 0.25, 0.5, 0.75, 1), y=c(0.180036717548597, -0.369556903134046, -0.924474152821948, -2.40773640658189, 0.801471591443009)) position_identity: () mapping: (x=da[[1]], y=da[[c]]) geom_line: (colour=black, size=1, linetype=1, x=NA, y=NA) + (x=c(0, 0.25, 0.5, 0.75, 1), y=c(-1.59744511956184, -0.9333541477049, 1.88697835844878, 0.921829569181679, -0.741077741846118)) stat_sort: (...=) + (x=c(0, 0.25, 0.5, 0.75, 1), y=c(-1.59744511956184,...
2007 Sep 27
3
Plotting from different data sources on the same plot (with ggplot2)
Hello everyone (and Hadley in particular), I often need to plot data from multiple datasets on the same graph. A common example is when mapping some values: I want to plot the underlying map and then add the points. I currently do it with base graphics, by recording the maximum region in which my map+point will fit, plotting both with these xlim and ylim parameters, adding par (new=T)