Draw math formulas with ggplotd
Edwin van Leeuwen via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Sat Sep 17 02:56:09 PDT 2016
On Saturday, 17 September 2016 at 02:41:15 UTC, brocolis wrote:
> How do I draw math formulas programmatically? I want to do on
> screen what latex does on .pdf.
>
> And I want to draw a math formula in the image generated with
> ggplotd.
You can't at the moment. Parsing latex equations is not a trivial
task.
One possible approach would be to convert part of the equations
(greek alphabet etc.) to utf and use geomLabel to "simulate"
sub/super script. One caveat with this is that I am not sure how
well cairo(d) supports utf.
More information about the Digitalmars-d-learn
mailing list