Hi Paulo,
Try adding Scale.x_continuous to the plot. In your example the
histogram is drawing a bar for every integer, which is why they're so
narrow.
On Wed, May 21, 2014, at 04:06 PM, Paulo Castro wrote:
Hi guys,
I'm having a problem when plotting data like this:
data=int(round(dropna(outcome[:,11])))
p=plot(x=data,Geom.histogram)
Here, data is an Array{Int64,1}. But the plot I get after running
thishave the bars spread, ignoring the space between integers. Is this
expected? How can I make the same plot, but enlarging the bars so they
touch each other?
[1][myplot.png]
References
1.
https://lh6.googleusercontent.com/-5_gJWTBY4vY/U30w2QEPWyI/AAAAAAAAAGU/mfgnxTzo8uE/s1600/myplot.png