I'm working on it: https://github.com/dcjones/Gadfly.jl/issues/563

The desire for a separate plotting semantics is indicative of some 
shortcoming. So I hope we can resolve that, and there won't be a need to 
wrap Gadfly.


On Friday, March 13, 2015 at 8:24:03 PM UTC-7, Sheehan Olver wrote:
>
>
>         Hmm… that’s a little bit complicated… I wonder if there would be 
> interest in a wrapper package for Gadfly that makes these things simpler? 
>
>
>
>
> > On 13 Mar 2015, at 3:03 pm, Jiahao Chen <[email protected] <javascript:>> 
> wrote: 
> > 
> > Daniel is the authoritative source, but for such situations I use 
> > layers and manual color schemes like this: 
> > 
> > using Color, Gadfly 
> > 
> > xgrid=0:10:100 
> > data=rand(10,10) 
> > nrows = size(data, 1) 
> > cm = distinguishable_colors(nrows, lchoices=0:50) #lchoices between 50 
> > and 100 are too bright for my taste for plotting lines 
> > plot( 
> >   [layer(x=xgrid, y=data[i, :], Geom.line, 
> > Theme(default_color=cm[i])) for i=1:nrows]..., 
> >   Guide.manual_color_key("row id", ["row $i" for i=1:nrows], cm), 
> >  ) 
> > 
> > Thanks, 
> > 
> > Jiahao Chen 
> > Staff Research Scientist 
> > MIT Computer Science and Artificial Intelligence Laboratory 
> > 
> > 
> > On Thu, Mar 12, 2015 at 11:54 PM, Sheehan Olver <[email protected] 
> <javascript:>> wrote: 
> >> 
> >> I have a table of numbers that I want to line plot in Gadfly: i.e., 
> each 
> >> column corresponds to values of a function.  Is this possible without 
> >> creating a DataFrame? 
> >> 
> >> 
>
>

Reply via email to