Plots.jl: How can I implement "axis off"?

Created on 3 Aug 2016  路  6Comments  路  Source: JuliaPlots/Plots.jl

Most helpful comment

I'm planning on adding some logic so that plot(..., axis = nothing) will be the same as plot(..., ticks=nothing, border=nothing)

All 6 comments

I don't know... what do you expect that would do? Remove the borders? No tick labels?

I mean "no axis", just lines and points.

I'm planning on adding some logic so that plot(..., axis = nothing) will be the same as plot(..., ticks=nothing, border=nothing)

using Plots; plot(rand(10), axis=nothing)

tmp

Just a note for others reading this, axis=nothing was not enough to remove guide lines when plotting an image. I worked around it by also setting foreground_color_subplot to white like this:

plot(colorview(RGB, rand(3, 300,900).*10.0), legend=false, axis=nothing, foreground_color_subplot=colorant"white")

Actually it turns out setting border=:none does what I needed. Note that border=nothing does not work.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

daschw picture daschw  路  3Comments

PallHaraldsson picture PallHaraldsson  路  4Comments

apalugniok picture apalugniok  路  3Comments

SebastianM-C picture SebastianM-C  路  4Comments

pkofod picture pkofod  路  3Comments