Plots.jl atrribute for full border


Does anybody know the plot attribute for creating a border around the entire plot (here I need borders on the top and right without ticks, just the lines)trajectory

1 Like

Look at plotattr(framestyle)


For future reference thats: plot(xp, legend = :none, framestyle = :box)


I actually dislike the borders on the left and right within the coordinates. So, xlims=(0, 1000) should remove them.

Seeing this looking for something else, but fyi the “widen=false” attribute should also get rid of the extra space at the edges of the plot area.

1 Like

widen=false saves my day. Thank you @BioTurboNick!

1 Like