JuliaPlots/Plots.jl

Removing Ticks and Grid from Surface Plot

Open

#938 geöffnet am 18. Juni 2017

Auf GitHub ansehen
 (0 Kommentare) (2 Reaktionen) (0 zugewiesene Personen)Julia (381 Forks)batch import
PlotlyPyPlotenhancementgood first issue

Repository-Metriken

Stars
 (1.943 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 3T 12h) (2 gemergte PRs in 30 T)

Beschreibung

I am unable to completely remove the ticks and grid lines on my surface plot using the Plotly/PlotyJS and PyPlot backends (I haven't tested others). I've tried the following code to remove the ticks and grid:

surface(x2d, y2d, z2d, fill_z = color_mat, fc = :haline, grid = false, ticks = false)

Using the Plotly/PlotlyJS backend I get the following plot. The grid is gone but the ticks are still there (although the tick labels are gone).

plotlyjs_backend

I then tried the PyPlot backend. The ticks seem to go away but the grid is still there.

I was finally able to get around the issue by using Plotly and setting the foreground color to :white. See this question for the background. Also, I'm on macOS (Sierra) using JuliaPro 0.5.2.2 and Plots v0.11.3.

Thanks!

Contributor Guide