Simon Christ

Results 223 comments of Simon Christ

Yeah, the output of Plots plots is also hard to read otherwise. How can I run the doctests locally?

I am not going to change anything in the near future, but feel free to change or add anything as you see fit.

I added the option to get the compact output via `IOContext`. I can't see, why the docs fail to build though.

that wouldn't allow me to pass colors as a RGB type though, am I right?

I mean something like ```julia c = RGB(1.0,0.0,0.0) PGFPlotsX.@pgf PGFPlotsX.Plot( { mark = "*", "mark options" = "{ color = $c }", }, PGFPlotsX.Coordinates(1:3,2:4)) ``` ( I try to get...

I see, that would be useful to construct things like ```julia using PGFPlotsX opt = :mark PGFPlotsX.@pgf { $opt = "*" } ```

There is an implementation for this in `Plots.jl` ```julia function pgfx_colormap(grad::ColorGradient) join(map(grad.colors) do c @sprintf("rgb=(%.8f,%.8f,%.8f)", red(c), green(c), blue(c)) end,"\n") end ```

What usecases do you have in mind for this? Plots.jl already has several mechanisms for setting your own default values. What benefit would an API for a custom (private) theme...

> Indeed, you can already do that with the `default` function; but I felt PlotThemes' API is a little nicer, as you can name themes and work with multiple ones...