You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Instead of three hexagons (as shown in #2777; a similar code is used here), the result of
using CairoMakie
a =0.5# hexagon radius
vertices = [
Point2( # workaround: change to Point2f
a *cos(θ),
a *sin(θ)
)
for θ inrange(1/6*pi, 13/6*pi, length =7)
]
hexagon = Makie.Polygon(vertices)
points = a .* Point2[(0, 0), (sqrt(3), 0), (sqrt(3)/2, 1.5)]
scatter(points,
marker = hexagon,
markersize =1,
markerspace =:data,
color =1:3,
axis = (; aspect =1, limits = a .* (-2, 4, -2, 4))
)
is weird:
It might be related to #1419 or #2573, as it has to do with single vs double precision.
The funny thing is that here lower precision gives better results, so it might be entirely different.
Instead of three hexagons (as shown in #2777; a similar code is used here), the result of
is weird:
It might be related to #1419 or #2573, as it has to do with single vs double precision.
The funny thing is that here lower precision gives better results, so it might be entirely different.
Note:
This was with
CairoMakie v0.10.2
.With
GLMakie v0.8.2
there is an error:Details
The text was updated successfully, but these errors were encountered: