vcs icon indicating copy to clipboard operation
vcs copied to clipboard

markers size depends on worldcoordinates

Open doutriaux1 opened this issue 8 years ago • 3 comments

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 avatar Jan 11 '18 00:01 doutriaux1

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 avatar Apr 03 '18 19:04 scottwittenburg

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

doutriaux1 avatar Apr 09 '18 12:04 doutriaux1

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

scottwittenburg avatar May 10 '18 17:05 scottwittenburg