jsxGraph board properties.

7 views
Skip to first unread message

William Haynes

unread,
Jun 12, 2025, 7:37:47 AMJun 12
to Numbas Users
How can I get jsxgraph board properties, particularly board.unitX and board.unitY?

I'd like to draw a circular arc on a board that has different x and y scales.

Christian Lawson-Perfect

unread,
Jun 12, 2025, 8:54:35 AMJun 12
to numbas...@googlegroups.com
Do you mean when you're defining a board with JME or JessieCode syntax? I can't think of a way of doing it off the top of my head.

I think this is something JSXGraph doesn't do well - having elements drawn in different coordinate systems.

You could try using groups to forcefully transform the different kinds of elements? https://jsxgraph.org/docs/symbols/Group.html

On Thu, 12 Jun 2025 at 12:37, William Haynes <wha...@maritime.edu> wrote:
How can I get jsxgraph board properties, particularly board.unitX and board.unitY?

I'd like to draw a circular arc on a board that has different x and y scales.

--
You received this message because you are subscribed to the Google Groups "Numbas Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to numbas-users...@googlegroups.com.
To view this discussion, visit https://groups.google.com/d/msgid/numbas-users/5e12e53d-f594-4850-8fcf-aa45ed419ba8n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages