The x-axis coordinates and y-axis coordinates cannot be displayed in Mac M1 chip RStudio

The x-axis coordinates and y-axis coordinates cannot be displayed in Mac M1 chip RStudio

1. Problem description

  • When drawing in R language in RStudio, the coordinate axes in the figure cannot be displayed, as shown in the figure below:
    insert image description here

2. Solution

2.1 font Book APP

  • To use command+空格键, open the font Book APP, if you find that the arial icon is off, just add it.
    insert image description here

2.2 Length and width ratio adjustment

  • Double-click the drawn picture, select it Inspect Element, and enter the aspect ratio adjustment interface of the drawing
    insert image description here
    insert image description here

2.3 Problems caused by RStudio settings

  • After the above two methods, I still haven't solved the problem until the emergence of this method.
  • In the RStudio interface, selectTools --->Global Options--->General --->Advanced
  • 将Auto-detect更改为Software
  • Then restart RStudio
    insert image description here
  • The picture mentioned at the beginning that cannot display the coordinate axis, after the third method, the coordinate axis can be displayed normally
    insert image description here

Guess you like

Origin blog.csdn.net/crist_meng/article/details/129674096