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
[FR] Series type pixel #2859
Comments
A way to start is to see https://github.com/JuliaPlots/Plots.jl/blob/master/src/recipes.jl and understand how some of the recipes work, update natively supported series and implement that series in backends that would support it natively. Else, the series should just become (fallback) a scatter plot with tiny markersize and no borders. Perhaps @LakshyaKhatri or @Diaga would be interested in this issue |
Hello @isentropic, Sorry for the late response. I was focusing on CDSAPI.jl for past few days. I am starting to look at the resources provided and open a PR asap. @Diaga, I think we can work on this together. |
Hello @isentropic, could you provide any link to the API documentation for pixel plots in pyplot? I tried searching for it and |
Yeah with native pyplot, you could
This has nothing to do with images |
Yes, this should be put in of the conditions, as well as supported series types in the backends.jl file. Perhaps it should only be 2d |
I have implemented the recipe, but while calling the plot with |
Perhaps updating supported series will do the job 😸 . Thanks @isentropic 🙌 |
Hello @isentropic, can I ask what Lines 124 to 146 in 5673ced
is it denoting the fallback series type? or something like "on which series type this recipe depends"? If it is the prior case then in pixel recipe, it will look something like this?: @recipe function f(::Type{Val{:pixel}}, x, y, z)
x := x
y := y
seriestype := :pixel
markersize := 1
markerstrokewidth --> 0
()
end
@deps pixel scatter |
You need to add an entry in recipes.jl I believe |
Create a new series type that draws pixels. It is similar to
st=:scatter
with smallest size and no border if backend cannot draw pixels natively. PyPlot and GR are capable of this where the benefit is vastly faster plotting for huge data where line plots take too longThe text was updated successfully, but these errors were encountered: