Fixing problems with my plot


julia> theme(:default,
             fglegend = colorant"#000000", #legend
             guidefontcolor = colorant"#000000",
             showaxis = true,
             formatter = :scientific,
             aspect_ratio = :equal, #:equal
             #widen=true,
             ylims=(0.001,100),xlims=(0,100),
             thickness_scaling = 1.25, 
             framestyle=:box,
             size=(300,300)
               )

The solution for the frame is framestyle=:box. The size=() option makes the plot squared (although if the limits of x and y are the same, this is not needed). To remove the 0 from the y axis you might change ylim to slightly more than 0:

image

This means that similar intervals in both axis will have the same apparent length. If the limits have the same interval sizes in both axis, that will do the trick. What was missing in your case is setting the x limits to be (0,100) to get the square plot.

1 Like