Here's an example (below). We should put an example like this (with free_y_axis=true) in the documentation.
using DataFrames
using Gadfly
widedf = DataFrame(x = [1:10], var1 = [1:10], var2 = [1:10].^2)
longdf = stack(widedf, [:var1, :var2])
# this isn't what we want b/c the scales are the same:
plot(longdf, ygroup="variable", x="x", y="value", Geom.subplot_grid(Geom.point))
# this is what we want, but for some reason it isn't working for me in iPython notebook
plot(longdf, ygroup="variable", x="x", y="value", Geom.subplot_grid(Geom.point, free_y_axis=true))