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

Aymptote ellipses do not work #1467

Open
rocky opened this issue Jul 2, 2021 · 1 comment
Open

Aymptote ellipses do not work #1467

rocky opened this issue Jul 2, 2021 · 1 comment

Comments

@rocky
Copy link
Member

rocky commented Jul 2, 2021

Graphics[{Blue, Disk[{0, 0}, {1, 2}, {Pi / 3, 5 Pi / 3}]}]

Renders as a circle rather than an ellipse:

 \begin{asy}
  usepackage("amsmath");
  size(2.9167cm, 5.8333cm);
  filldraw((87.5,175)--(131.25,326.55)--arc((87.5,175), (131.25, 326.55), (131.25, 23.446))--cycle, rgb(0, 0, 1), nullpen);
  clip(box((0,0), (175,350)));
\end{asy} 

Asymptote does have an ellipse. See for example https://artofproblemsolving.com/wiki/index.php/Asymptote:_Drawing_part_2

@rocky
Copy link
Member Author

rocky commented Aug 8, 2021

This has been fixed, but extent calculation needs to be fixed as a result of the y scaling.

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