比如像matlab一样,用△、Ο、*这种加到线上面。研究了半天帮助,现在只能勉强设置虚实线、颜色、粗细,再细就不行了
线条超过四个,辨认起来就费劲了,而且考虑到论文可能是黑白的,还是得加形状
代码如下
Plot[{x + 1, -x + 1, x^2, x^3}, {x, -2, 4},
PlotTheme -> "Scientific",
PlotLegends -> {Style["x+1", 20], Style["-x+1", 20],
Style["x^2", 20], Style["x^3", 20]},
ImageSize -> Large,
PlotStyle -> {Orange, Black, Dashed, Blue}
]


代码如下
Plot[{x + 1, -x + 1, x^2, x^3}, {x, -2, 4},
PlotTheme -> "Scientific",
PlotLegends -> {Style["x+1", 20], Style["-x+1", 20],
Style["x^2", 20], Style["x^3", 20]},
ImageSize -> Large,
PlotStyle -> {Orange, Black, Dashed, Blue}
]


