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

plot of SimilaritySurfaceTangentVector not at correct place #284

Open
videlec opened this issue May 2, 2024 · 0 comments
Open

plot of SimilaritySurfaceTangentVector not at correct place #284

videlec opened this issue May 2, 2024 · 0 comments
Labels

Comments

@videlec
Copy link
Collaborator

videlec commented May 2, 2024

There is no option in SimilaritySurfaceTangentVector.plot to make the plot of a tangent vector on the given layout of a similarity surface. Currently, everything is centered with respect to the underlying polygon data.

from flatsurf import translation_surfaces
M = translation_surfaces.arnoux_yoccoz(3)
p = M.polygon(11)
v = M.tangent_vector(11, sum(p.vertices()) / 3, (1/8, 0))
M.plot() + v.plot(color='red')

It works fine for straight line trajectories though

M.plot() + v.straight_line_trajectory().plot(color='red')
@saraedum saraedum added the bug label Sep 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

2 participants