I have some ggplot plots in the Plotly function.
I would like the scale of x-axis and y-axis would be equal.
I used coord_fixed(below line), but it didn't work
coord_fixed(ratio = 1, xlim = NULL, ylim = NULL, expand = TRUE, clip = "on")
my desired output is like the attached figure , I need the distance between numbers on both axes would be equal, for example, 0.5 in the mentioned image.
Do you have any recommendations?
I need to mention, that I have a lot of input. the data is different for each of them, so the start number for all of them would be different.