Hi,
I'm quite new to Mathematica (I'm using v11) and I'm making the transition from MATLAB. There are many new and wonderful things in Mathematica but I've gotten stuck on something so basic I'm almost embarrassed to ask about it. The very first thing I tried was creating a 2D plot based on one of the examples:
ListPlot[Prime[Range[5000]]]
I'd like to pan and zoom this plot to explore the data. I found this question posed on the Mathematica StackExchange but all of the answers were surprisingly complex. I tried downloading one large chunk of code which claims to provide some generic 2D plot interaction but I don't think it's compatible with v11. I also found info in the Mathematica docs about how to rotate, zoom & pan graphics but it seems to apply only to 3D plots.
So I'm wondering:
Regards, Jeremy Todd
Okay thanks! I just wanted to make sure I wasn't missing anything.
Jeremy
Hello @Sander Huisman is there any news about this functionality?
There are some function in the Wolfram Function Repository for this:
https://resources.wolframcloud.com/FunctionRepository/search/?i=zoom
@Sander Huisman thank you very much for the link.
I am not sure this is what you want, but a starting point may be:
Manipulate[ Style[ListPlot[Prime@Range[5000], ImageSize -> {l, c}], Magnification -> m], {{l, 500}, 250, 1000}, {{c, 350}, 300, 1000}, {{m, 1}, 0.1, 10}]