Hello
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)
Hello
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)
Look at plotattr(framestyle)
Thanks!
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.
widen=false
saves my day. Thank you @BioTurboNick!