Anshul Singhvi

Results 142 comments of Anshul Singhvi

Observables don't work with meshscatter currently, because you can't change the mesh. I think that we had a workaround for that somewhere, or we could just delete the mesh and...

You'd need a way to update (a) the Scene's pixel area and (b) the context's pixel area. (a) is as simple as `resize!(scene, size)`, but I'm not sure about (b).

I just tried this out, and it works beautifully. https://developer.gnome.org/gtk-tutorial/stable/x182.html could be useful for seeing which events to track and act on.

To flip the axis is suprisingly simple (but does need some patching): ```julia using Makie, CairoMakie # patch a bug in Makie, will push a PR laters @eval Makie begin...

Implementation for sticks (needs to be turned into a recipe but you get the picture): ```julia function sticks!(scene, x, y) for (i, j) in zip(x, y) linesegments!(scene, (Point2f0(i, min(j, 0)),...

Here's GR.jl's (polar) axis drawing code, for reference. https://github.com/jheinen/GR.jl/blob/9edecc09594ac855bae70113a6fd452db12c5ea0/src/jlgr.jl#L414-L526 ```julia function draw_polar_axes() viewport = plt.kvs[:viewport] diag = sqrt((viewport[2] - viewport[1])^2 + (viewport[4] - viewport[3])^2) charheight = max(0.018 * diag, 0.012)...

Plots.jl bezier curves: https://github.com/JuliaPlots/Plots.jl/blob/2816b1128f2d2b2fdba5b170facd316954eb61e2/src/recipes.jl#L280-L339

For `vline` and `hline`, is there a way to get the Scene's limits as an Observable (or, in general, a way to manipulate the Scene within the plotting command that...

@jheinen, this doesn't seem to be in the GR documentation - what does `gr_ wctondc` (from the C-API) do?

Thanks! Will look into the polar axis adaptation further.