Move the axis on the graph in R

1

I need to do some heat graphics with a legend bar next to it. I also need to place the axes. However, since I had to slightly increase the size of the chart so the legend bar appears on the side, the Y-axis shifts away from the chart's drawing. As we can see in the figure:

I would like the Y axis to be close to the picture, as the X-axis is! I'm using the image () function, is there any entry in this function that can move the axis without having to change the dimensions of the window?

    
asked by anonymous 23.12.2017 / 00:28

0 answers