Skip to main content
added 194 characters in body
Source Link
Nasser
  • 150.5k
  • 12
  • 161
  • 374

May be Epilog?

Plot[x, {x, -1, 2}, Epilog -> Line[{{1, -1}, {1, 3}}]]

gives

Mathematica graphics

You can change the style as needed. For example

Plot[x, {x, -1, 2}, Epilog -> {Dashed, Red, Line[{{1, -1}, {1, 3}}]}]

Mathematica graphics

May be Epilog?

Plot[x, {x, -1, 2}, Epilog -> Line[{{1, -1}, {1, 3}}]]

gives

Mathematica graphics

May be Epilog?

Plot[x, {x, -1, 2}, Epilog -> Line[{{1, -1}, {1, 3}}]]

gives

Mathematica graphics

You can change the style as needed. For example

Plot[x, {x, -1, 2}, Epilog -> {Dashed, Red, Line[{{1, -1}, {1, 3}}]}]

Mathematica graphics

Source Link
Nasser
  • 150.5k
  • 12
  • 161
  • 374

May be Epilog?

Plot[x, {x, -1, 2}, Epilog -> Line[{{1, -1}, {1, 3}}]]

gives

Mathematica graphics