先输入命令:
ListLinePlot[{{2, 6}, {-4, 7}, {0, 9}, {2, 6}},
AxesOrigin -> {0, 5.5}, AspectRatio -> 1, AxesLabel -> {x, y},
Joined -> True, PlotRange -> {{-5, 3}, {5.5, 9.5}}]
然后在图形上右键点击“Drawing Tools”就行了,如图:
请参考函数epilogtext等