Mattriks

Results 174 comments of Mattriks

[`fillopacity`](https://github.com/GiovineItalia/Compose.jl/blob/2b561b0f53a81cbf9a4001d721d29880d6e50ebc/src/pgf_backend.jl#L312) is a seperate property: ```julia # This should override the parent fill opacity in this context: (context(), Compose.circle(0.5, 0.5, 0.2), fill("blue"), fillopacity(1.0)) ``` The line I'm editing above is...

Yes a=1 will be ignored in e.g. RGBA(r,g,b,a), because of the `fill(string)` issue mentioned above. My opinion is that `fill("blue")` and `fillopacity(0.3)` is more user-friendly than RGBA-style syntax, and hence...

As you note, the difference between `format` and `labels` is: - `format` changes the notation of _numbers_ in the label - `labels` is used to change the label format e.g....

Note this issue only occurs with hstack'd or vstack'd plots. Same with any `Compose.Context`. The workaround I found was to explicitly include a `draw` call: ```markdown draw(PDF(), hstack(plot1, plot2)); ```

Looking at Weave.jl src now. The issue is that hstack'd and vstack'd plots are no longer objects of type `Gadfly.Plot`, as they are converted to objects of type `Compose.Context`. Weave's...

I started expanding the Compose docs in #303, and it's an ongoing process 😀. To learn more, you can find examples of the outer constructors of those types in Gadfly.jl...

Should be able to fix that error. In the meantime there is a workaround: ```Julia # Note line with double brackets: line([[]]) img = compose(context(units=UnitBox(0,0,2,2)), line([[(0.2, 0.2), (0.75w, 0.75h)]]), rectangle(0.2,0.2,0.55,0.55),...

And this works with single square brackets: ``` line([(0.2cx, 0.2cy), (0.75w, 0.75h)]) ```

For text rotation, see these [explanation lines](https://github.com/GiovineItalia/Compose.jl/blob/cabb3b124384d0d16bd4365f550c6101984afe70/src/form.jl#L377-L378) in the Compose code:

Definitely a bug. I also tried this variation: ```julia img = compose(context(), text([0.25,0.75], [0.25,0.75], ["A","B"], [hcenter], [vcenter]), stroke(["blue","green"]), fill(["yellow","red"]), linewidth(5pt), fontsize(60pt) ) draw(PNG("Cmps_text.png"), img) # yellow/red fill, thin blue/green stroke...