Skip to content
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

2D Graphics support #1

Open
sn6uv opened this issue Apr 10, 2016 · 1 comment
Open

2D Graphics support #1

sn6uv opened this issue Apr 10, 2016 · 1 comment

Comments

@sn6uv
Copy link
Member

sn6uv commented Apr 10, 2016

Support for graphics is not currently implemented.

@sn6uv
Copy link
Member Author

sn6uv commented May 2, 2016

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 mathjax/MathJax#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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant