level 1
具体的内容可以参考下?ListPlot, ?ListLinePlot, ?Show,以及Pure Function(
图里面我把点连起来了,把join的选项改成False 或者去掉这一句就只剩点了。代码是这样的:
x = {10, 100, 300, 1000};
ly = {{1, 3, 5, 4}, {2, 4, 6, 7}, {6, 7, 9, 8}};
pts = Transpose[{x, #}] & /@ ly;
ListPlot[pts,
Joined -> True,
AxesLabel -> (Style[#, 12, Bold] & /@ {"X", "Row of y"}),
PlotLegends -> {"row1", "row2", "row3"}]
2020年06月04日 21点06分
