Skip to main content
replaced http://mathematica.stackexchange.com/ with https://mathematica.stackexchange.com/
Source Link

Mathematica has build-in zoom for 3D. but for 2D, you'd have to make your own (as far as I know). Here is very basic example:

enter image description here

Manipulate[ Plot[Sin[x], {x, from, to}, GridLines -> Automatic, GridLinesStyle -> LightGray], {{from, -2 Pi, "from?"}, -2 Pi, 0, .1}, {{to, 2 Pi, "to?"}, 0, 2 Pi, .1} ] 

For more advanced example, see how-to-zoom-and-pan-a-listlineplothow-to-zoom-and-pan-a-listlineplot and zoom-in-on-a-2d-graphzoom-in-on-a-2d-graph

Mathematica has build-in zoom for 3D. but for 2D, you'd have to make your own (as far as I know). Here is very basic example:

enter image description here

Manipulate[ Plot[Sin[x], {x, from, to}, GridLines -> Automatic, GridLinesStyle -> LightGray], {{from, -2 Pi, "from?"}, -2 Pi, 0, .1}, {{to, 2 Pi, "to?"}, 0, 2 Pi, .1} ] 

For more advanced example, see how-to-zoom-and-pan-a-listlineplot and zoom-in-on-a-2d-graph

Mathematica has build-in zoom for 3D. but for 2D, you'd have to make your own (as far as I know). Here is very basic example:

enter image description here

Manipulate[ Plot[Sin[x], {x, from, to}, GridLines -> Automatic, GridLinesStyle -> LightGray], {{from, -2 Pi, "from?"}, -2 Pi, 0, .1}, {{to, 2 Pi, "to?"}, 0, 2 Pi, .1} ] 

For more advanced example, see how-to-zoom-and-pan-a-listlineplot and zoom-in-on-a-2d-graph

Source Link
Nasser
  • 156.1k
  • 12
  • 173
  • 396

Mathematica has build-in zoom for 3D. but for 2D, you'd have to make your own (as far as I know). Here is very basic example:

enter image description here

Manipulate[ Plot[Sin[x], {x, from, to}, GridLines -> Automatic, GridLinesStyle -> LightGray], {{from, -2 Pi, "from?"}, -2 Pi, 0, .1}, {{to, 2 Pi, "to?"}, 0, 2 Pi, .1} ] 

For more advanced example, see how-to-zoom-and-pan-a-listlineplot and zoom-in-on-a-2d-graph