Mattriks

Results 171 comments of Mattriks

Here is the current fast way of doing the initial example, just for the record. ``` julia iris = dataset("datasets", "iris") theme(x) = Theme(default_color=parse(Colors.Colorant,x)) colv = ["deepskyblue","red"] p = plot(iris,...

And here is the same in R (I don't know if this can be further condensed): ``` R colv = c("deepskyblue","red") p = ggplot(iris, aes(x=Sepal.Length, y=Petal.Length))+ geom_point(aes(color="Points"))+ geom_smooth(aes(color="Smooth"))+ scale_color_manual(name="Key",values=colv) ```

Currently, there are several ways in Gadfly to specify color: ```julia using Colors plot(iris, x=:SepalLength, y=:PetalLength, Geom.point, color=[RGB(0,0,1)]) plot(iris, x=:SepalLength, y=:PetalLength, Geom.point, color=[colorant"red"]) plot(iris, x=:SepalLength, y=:PetalLength, Geom.point, Theme(default_color="red")) plot(iris, x=:SepalLength,...

Following #1463, the initial example can be done like this now: ```julia plot(iris, x=:SepalLength, y=:PetalLength, layer(Geom.smooth, color=["Smooth"]), layer(Geom.point, color=["Points"]), Scale.color_discrete_manual("red","deepskyblue")) ``` ![iris_points_smooth](https://user-images.githubusercontent.com/18226881/86917507-8035f200-c168-11ea-967b-dbcd0d7fc975.png)

As well as pango markup, Julia can generate symbols (including italic symbols, symbols with hats, super and subscript etc): https://docs.julialang.org/en/latest/manual/unicode-input/ There is an example here, where I mix the 2...

@IgorDouven Does `Guide.title("𝑝= .2")` work for you on Gadfly 1.3? (It may have been fixed by GiovineItalia/Compose.jl#394?)

Note there's a delay between the registration of a new release (in this case v1.3), and when Tagbot creates a github tag. In the meantime, the v1.3 docs are the...

Not sure what you mean, can you give a minimum example please.

The design ideas here are: - `Theme(key_position=:none)` should turn off all _automatic_ keys - people may still want to add manual keys to the plot, if all the automated keys...

There is a use case for having more than 1 visible manual key in the plot, and there is an [example](http://gadflyjl.org/stable/gallery/guides/#[Guide.manual_color_key](@ref),-[Guide.manual_discrete_key](@ref)-1) in the docs. In your case, if want to...