添加网格线: 代码语言:R 复制 plot(x, y, main = "My Plot") abline(h = seq(min(y), max(y), by = 1), v = seq(min(x), max(x), by = 1), col = "lightgray") 添加文本注释: 代码语言:R 复制 plot(x, y, main = "My Plot") text(x = 3, y = 5,
TheXDataproperty of the surface object stores thex-coordinates. Example:X = 1:10 Example:X = [1 2 3; 1 2 3; 1 2 3] Example:[X,Y] = meshgrid(-5:0.5:5) Data Types:single|double|int8|int16|int32|int64|uint8|uint16|uint32|uint64|categorical|datetime|duration ...