-
Is it possible to use svg paths to display custom symbols with Plot.dot? |
Beta Was this translation helpful? Give feedback.
Answered by
Fil
Nov 19, 2024
Replies: 1 comment
-
You can see how to create symbols via a series of "turtle" commands in all these files: The commands are documented here It's a subset of the SVG path spec. I don't recall if someone wrote an adaptor that would read in a SVG path and would call the corresponding commands — but that should be possible. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
Fil
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can see how to create symbols via a series of "turtle" commands in all these files:
https://github.com/d3/d3-shape/tree/main/src/symbol
The commands are documented here
https://observablehq.com/@d3/d3-path
It's a subset of the SVG path spec. I don't recall if someone wrote an adaptor that would read in a SVG path and would call the corresponding commands — but that should be possible.