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

markers size depends on worldcoordinates #299

Open
doutriaux1 opened this issue Jan 11, 2018 · 3 comments
Open

markers size depends on worldcoordinates #299

doutriaux1 opened this issue Jan 11, 2018 · 3 comments
Assignees
Milestone

Comments

@doutriaux1
Copy link
Contributor

markers size and aspect shouldn't depend on worldcoordinate

import vcs
x=vcs.init(bg=True,geometry=(800,600))
m = vcs.createmarker()
m.viewport=[0,1,0.5,1]
m.type = "hurricane"
m.x = [0.5]
m.y = [.5]
x.plot(m)
m = vcs.createmarker()
m.type = "hurricane"
m.x = [0]
m.y = [.5]
m.viewport=[0,1,0,.5]
m.worldcoordinate=[-10,10,0,1]
x.plot(m)
x.png("stretched")

gives:
stretched

@doutriaux1 doutriaux1 added this to the Next Release milestone Mar 29, 2018
@scottwittenburg
Copy link
Collaborator

I have tested this against #331 and it is fixed. However, the default size of 1 now results in a very tiny hurricane, so setting m.size = 20 for both plots makes it easier to see.

@doutriaux1
Copy link
Contributor Author

@scottwittenburg let's change the default size of hurricane instead.

@scottwittenburg
Copy link
Collaborator

I think this could be closed now, as the fix is in master.

@doutriaux1 doutriaux1 modified the milestones: 8.1, 8.2 Mar 27, 2019
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

3 participants