m (→Applets (Wolfram Demonstrations)) |
m (→Background) |
||
(3 intermediate revisions by one user not shown) | |||
Line 17: | Line 17: | ||
Mathematica is the pinacle of ''Wolfram research'', the company built by Stephen Wolfram, initially to develop Mathematica, now with extended ambitions in various areas of computational interest (see [http://www.wolframscience.com/ a new kind of science] and [http://www.wolframalpha.com Wolfram|Alpha] as other major examples). | Mathematica is the pinacle of ''Wolfram research'', the company built by Stephen Wolfram, initially to develop Mathematica, now with extended ambitions in various areas of computational interest (see [http://www.wolframscience.com/ a new kind of science] and [http://www.wolframalpha.com Wolfram|Alpha] as other major examples). | ||
+ | |||
+ | == Weaknesses == | ||
+ | |||
+ | The main one is that it is proprietary code. | ||
+ | |||
+ | The most annoying practical feature of Mathematica is that it does not have a good text editor, although this is fundamental for anything related to code editing ("writing code"). Particularly crippling is the inability to split windows, to work on remote aspects of the computation in parallel. Someone reports that: | ||
+ | {{quote|I asked this split screen question to Wolfram in 1994! He tried and convince me I didn't need it. |source=[https://mathematica.stackexchange.com/questions/9280/open-two-copies-of-the-same-notebook?rq=1#comment26766_9280 StackExchange]}} The [https://mathematica.stackexchange.com/a/9283 following trick]—using a palette that makes a duplicate, read-only copy—is useful: | ||
+ | |||
+ | <pre> | ||
+ | CreatePalette[Button["Duplicate Active Notebook", | ||
+ | NotebookPut[NotebookGet[InputNotebook[]] /. | ||
+ | {Rule[DockedCells, _] :> Sequence[], | ||
+ | Rule[WindowMargins, _] :> Rule[WindowMargins, {{0, Automatic}, {0, Automatic}}], | ||
+ | Cell[x___] :> Cell[x, Evaluatable -> False]}, | ||
+ | Background -> GrayLevel[0.95], Editable -> False, "ClosingSaveDialog" -> False, | ||
+ | DockedCells -> With[{sourcenb = InputNotebook[]}, | ||
+ | Cell[BoxData[ToBoxes[Button["Update", | ||
+ | SelectionMove[InputNotebook[], All, Notebook]; | ||
+ | NotebookWrite[InputNotebook[], | ||
+ | NotebookGet[sourcenb] /. Cell[x___] :> Cell[x, Evaluatable -> False]]]]], | ||
+ | "DockedCell", CellContext -> Cell]], | ||
+ | WindowTitle -> "Duplicate of " <> AbsoluteOptions[InputNotebook[], WindowTitle][[1, 2]]]; | ||
+ | SetSelectedNotebook[InputNotebook[]]], WindowTitle -> "Duplicate"]; | ||
+ | </pre> | ||
== See also == | == See also == | ||
Line 25: | Line 49: | ||
* [[Mathematica tips and tricks]]. | * [[Mathematica tips and tricks]]. | ||
* Useful [[Mathematica packages|standard packages]]. | * Useful [[Mathematica packages|standard packages]]. | ||
+ | * [[Mathematica troubleshooting]]. | ||
== In my Blog == | == In my Blog == | ||
Line 31: | Line 56: | ||
* [[Blog:Hacks/Restoring_corrupted_Mathematica_notebook|Restoring corrupted Mathematica notebook]] | * [[Blog:Hacks/Restoring_corrupted_Mathematica_notebook|Restoring corrupted Mathematica notebook]] | ||
* [[Blog:Hacks/LogGrid|LogGrid]] | * [[Blog:Hacks/LogGrid|LogGrid]] | ||
+ | * [[Blog:Science/Overlay_of_a_Mathematica_plot_with_an_image|Overlay of a Mathematica plot with an image]] | ||
== Links == | == Links == |
{{{1}}}
Contents |
Mathematica is a computational engine. It is probably the closest tool we have to an effective universal computer in its broadest sense.
Mathematica is the pinacle of Wolfram research, the company built by Stephen Wolfram, initially to develop Mathematica, now with extended ambitions in various areas of computational interest (see a new kind of science and Wolfram|Alpha as other major examples).
The main one is that it is proprietary code.
The most annoying practical feature of Mathematica is that it does not have a good text editor, although this is fundamental for anything related to code editing ("writing code"). Particularly crippling is the inability to split windows, to work on remote aspects of the computation in parallel. Someone reports that:
The following trick—using a palette that makes a duplicate, read-only copy—is useful:I asked this split screen question to Wolfram in 1994! He tried and convince me I didn't need it.
CreatePalette[Button["Duplicate Active Notebook", NotebookPut[NotebookGet[InputNotebook[]] /. {Rule[DockedCells, _] :> Sequence[], Rule[WindowMargins, _] :> Rule[WindowMargins, {{0, Automatic}, {0, Automatic}}], Cell[x___] :> Cell[x, Evaluatable -> False]}, Background -> GrayLevel[0.95], Editable -> False, "ClosingSaveDialog" -> False, DockedCells -> With[{sourcenb = InputNotebook[]}, Cell[BoxData[ToBoxes[Button["Update", SelectionMove[InputNotebook[], All, Notebook]; NotebookWrite[InputNotebook[], NotebookGet[sourcenb] /. Cell[x___] :> Cell[x, Evaluatable -> False]]]]], "DockedCell", CellContext -> Cell]], WindowTitle -> "Duplicate of " <> AbsoluteOptions[InputNotebook[], WindowTitle][[1, 2]]]; SetSelectedNotebook[InputNotebook[]]], WindowTitle -> "Duplicate"];