I have an image of 300x300 pixels loaded in Plots and I’m having a hard time modifying the axes without altering the image. If I change the xlims, the image gets resized. If I try xticks, it gets weird if I pass 300. (My aim is to have very small numbers in the axes, without changing any size of it).
xlims=(0,1000)
This guy had the same problem in MATLAB, and luckily someone got it fixed. Is there a similar trick to achieve the same thing in Julia?
I tried the following combinations seperately. plot(img, ylims=(0, 1000), xlims=(0, 1000)); plot(img, yticks=0:100:1000, xticks=0:100:1000); plot(img, size=(1000,1000), yticks=0:100:1000, xticks=0:100:1000)
No luck so far. Also, I found that PyPlot.jl has similar adjustments with axes i.e ax = gca(), but it calls Python library and that is something I’m trying to avoid.