vcs
vcs copied to clipboard
markers size depends on worldcoordinates
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:

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.
@scottwittenburg let's change the default size of hurricane instead.
I think this could be closed now, as the fix is in master.