using Gadfly, DataFrames
v = DataFrame(x = [1,2,3], y = [0.5,-0.7,1.2], label = ["a","b","c"])
plot(v , x=:x, y=:y, Geom.bar, Theme(bar_spacing = 2mm),
Guide.title("geneX"), Guide.ylabel("fold change"),
Guide.xlabel("technique"), color = :label)
产生以下情节:
(snd bar 应该是负数)
# without 'color = :label'
plot(v , x=:x, y=:y, Geom.bar, Theme(bar_spacing = 2mm),
Guide.title("geneX"), Guide.ylabel("fold change"), Guide.xlabel("technique"))
是否有解决此问题的方法?
此致,
塞巴斯蒂安