Skip to content
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

remove black lines from GR surface with equal-length x, y, and z input #3292

Merged
merged 1 commit into from
Feb 10, 2021

Conversation

daschw
Copy link
Member

@daschw daschw commented Feb 10, 2021

changes

using Plots

x_range = -10:0.5:10
p_range = -3:0.5:3

f(x, p) = sin(x) + cos(p)

xs = Float64[]
ps = Float64[]
ws = Float64[]

for x in x_range, p in p_range
    push!(xs, x)
    push!(ps, p)
    push!(ws, f(x, p))
end

surface(xs, ps, ws)

from
gr_surf_old

to
gr_surf_new

fix #3279 cc @foldfelis

@daschw daschw merged commit d196952 into JuliaPlots:master Feb 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Disable triangle lines on the surface
1 participant