Skip to main content

front end - Is it possible to use custom GUI magnifications?


I am running Mathematica 7 on Windows XP Pro. I often use the magnification feature to zoom in on Plots, ListPlots, and Graphics that I have created. If I go to the Window menu, there is a Magnification option, which gives a submenu with the following options:



  • 50%

  • 100%

  • 125%


  • 150%

  • 200%

  • 300%


Is it possible to use a magnification of, for example, 110%?



Answer



Something like this might help:


SetOptions[EvaluationNotebook[],DockedCells->
Cell[BoxData[ToBoxes[DynamicModule[{m=1},Panel[Slider[
Dynamic[m,SetOptions[EvaluationNotebook[],Magnification->(m=#)]&],{0.5,2.0}],

"Magnification"]]]],"DockedCell"]]

It puts a magnification control into a docked cell at the top of the notebook window.


Comments