-
Notifications
You must be signed in to change notification settings - Fork 72
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New hcat
and vcat
for drawings
#210
Conversation
Cool! Just SVG or any format? |
Codecov Report
@@ Coverage Diff @@
## master #210 +/- ##
==========================================
+ Coverage 70.85% 71.05% +0.19%
==========================================
Files 33 33
Lines 5919 5973 +54
==========================================
+ Hits 4194 4244 +50
- Misses 1725 1729 +4
Continue to review full report at Codecov.
|
I've tried with |
@cormullion, is it possible to do a |
You can do that kind of thing if you have extracted the image_as_matrix before you Perhaps this PR should somehow be restricted to SVG+SVG only; otherwise it will be difficult to |
Done! Added a new line in the code to check that the surfacetype is svg, and also specified in the docstring :) |
Awesome! Thanks! |
I added an example to the docs for you: http://juliagraphics.github.io/Luxor.jl/dev/howto/createdrawings/#Concatenating-SVG-drawings |
Has this been released? |
Not yet. Luxor's release schedule is vaguely monthly, so perhaps I should do one soon... |
This is a small contribution, but I think it might be quite useful. It overloads the
Base.hcat
andBase.vcat
to work with figures. So one can easily concatenate figures in Luxor.I've implemented the two functions and a set of tests.
Here is an example.