IMathics icon indicating copy to clipboard operation
IMathics copied to clipboard

2D Graphics support

Open sn6uv opened this issue 8 years ago • 1 comments

Support for graphics is not currently implemented.

sn6uv avatar Apr 10 '16 12:04 sn6uv

Recently made some progress towards this: 2016-05-02-182921_1920x1080_scrot

Note the missing plot axes (not affecting in chrome) - see below.

Previously the svg was generated incompletely on the backend and then finalised with javascript. The reason for this seems to be that we want to include text (and equations) within svg images, but we also want to have svg images within mathml code (e.g. a table of images). That is, MathML[SVG[MathML]].

Firefox in particular has some issues but the problem is more general, see https://github.com/mathjax/MathJax/issues/896. Chrome uses a built-in render (e.g. to label the axes).

The better solution might be to just send the existing js solution (in mathics.js) to the frontend.

sn6uv avatar May 02 '16 08:05 sn6uv