如何更改 base r 直方图上的 x 轴刻度
How to change the x-axis scale on the histogram in base r
我有一个直方图,其 x 尺度显示 0、1、2、3、4、5、6。
如何更改它以使其仅显示 0, 2, 4, 6 ?
请在基地 r.
没有指定 xlim
hist(exdata1$Global_active_power, main = "Global Active Power",
xlab = "Global Active Power (kilowatts)", col = "red")
我有一个直方图,其 x 尺度显示 0、1、2、3、4、5、6。 如何更改它以使其仅显示 0, 2, 4, 6 ? 请在基地 r.
没有指定 xlim
hist(exdata1$Global_active_power, main = "Global Active Power",
xlab = "Global Active Power (kilowatts)", col = "red")