using Gadfly
using Color
plot(x=collect(1:12),y=collect(1:12), color=collect(1:12), Geom.bar
,Scale.ContinuousColorScale(p -> RGB(0,p,0)))
plot(x=collect(1:12),y=collect(1:12), color=collect(1:12), Geom.bar
,Scale.ContinuousColorScale(Scale.lab_gradient(color("blue"), color("yellow"), color("red"))))
plot(x=collect(0:0.1:1.2),y=collect(0:0.1:1.2), color=collect(0:0.1:1.2), Geom.bar
,Scale.continuous_color(minvalue=0, maxvalue=1))
plot(x=collect(1:12),y=collect(1:12), color=repeat(collect(1:3), outer=[4]), Geom.bar
,Scale.discrete_color())
plot(x=collect(1:12),y=collect(1:12), color=repeat(collect(1:3), outer=[4]), Geom.bar
,Scale.discrete_color_manual("blue","yellow","red"))
plot(x=1:12, y=1:12, Geom.line
,Scale.x_log)
plot(x=1:12, y=1:12, Geom.line
,Scale.x_continuous(minvalue=-10, maxvalue=10))
plot(x=1:12, y=1:12, Geom.line
,Scale.x_continuous(format=:scientific))
plot(x=rand(3), y=1:10, Geom.line
,Scale.x_discrete)
plot(x=1:12, y=1:12, Geom.line
,Scale.y_log)
plot(x=1:10, y=rand(3), Geom.line
,Scale.y_discrete)