# Tag Info

## Hot answers tagged version-9

53

The short answer is, yes! There is a whole undocumented package TemporalData containing some useful functions. The results below are from my own spelunking. Feel free to add/amend as appropriate. Let's set up some simple TemporalData objects to explore them: fakedata = Transpose@{DatePlus[{2001, 1}, {#, "Month"}] & /@ Range[0, 99], ...

52

Preface With Mathematica version 9.0.1 the following answer not valid anymore because the underlying protocol between front end and kernel was changed. Fortunately, we started to implement an open-source Mathematica plugin for IntelliJIDEA which has a full support for camel-hump completion. Please see this post for more information Camel-humps auto-...

32

Copying my answer from StackOverflow (edit, now updated) ... If you are on Windows (with .NET), then you could use Mathematica's NETLink functionality in conjunction with the WebBrowser class to capture a screenshot of a web page: Needs["NETLink"] LoadNETType["System.Drawing.Imaging.ImageFormat", AllowShortContext -> False] LoadNETType["System.Windows....

31

data = WolframLanguageData[{"Select", "FileNames", "StringContainsQ", "Or", "StringJoin", "ToString"}, {"Name", "DateIntroduced", "DateLastModified", "VersionIntroduced", "VersionLastModified"}]; TableForm[data, TableHeadings -> {None, {"Name", "DateIntroduced", "DateLastModified", "VersionIntroduced", "VersionLastModified"}}] So ...

27

While trying to debug this issue myself, I stumbled across Todd Gayley's name in the source of one of the documentation .m files and contacted him directly. Todd was super great to work with---and at the end of an hour of screensharing he provided an easy workaround. The workaround essentially short-circuits one tiny feature of a normal documentation search....

23

As it often happens, when I was researching for writing a fine question I also digged through the documentation and found the answer. There is an option LegendMarkerkSize which in my opinion has an unintuitive name in the case of the BarLegend. Anyway it is exactly meant to do what I needed: testPlot = ArrayPlot[ Array[RandomInteger[100] &, {100, 100}]...

20

Another option is the free app Retinizer, which I used for a while with Mathematica 8. It cleaned up the text, but I found caused visual glitches with the documentation and added some instability throughout. That said, it made the text look beautiful which helped the eyes when reading a lot of code. You can turn it on and off, and it works on other ...

20

Mathematica 10.0 and later now support retina resolutions on OS X.

19

I think it must be an oversight in the graph export code (it also happens when exporting to graph formats other than Graphlet). If you use explicit labels in Mathematica, it gets exported properly, just the implicit VertexLabels -> "Name" does not. Note that since the export formats do not have an equivalent of VertexLabels -> "Name", you'd expect the ...

19

Edit Old answer follows below The features of your new set are very different from the first image. For example: There are components "touching" the borders. They have "hidden" structures like this: So it needs a different approach: l = {"http://i.stack.imgur.com/OZEvk.png", "http://i.stack.imgur.com/Tl1Pm.png", "http://i.stack.imgur.com/8enYZ.png"}...

18

There is an easier answer to this (esp. if you don't want to custom-specify colors), at least in version 10, found as the answer to this question: LegendLayout -> {"Column", 1}] All credit goes to MinHsuan Peng who answered that question, I just reposted here because I found this page first and thought other people searching for this would like to ...

17

Unfortunately, there is no solution. Dump (.mx) files are explicitly documented as being non-portable between different versions, and even between different builds of the same version (e.g. 32- and 64-bit versions for a given platform, or those for two different platforms). As such, you must re-generate your .mx files for version 9 either from the original ...

17

This is caused by a bug in RootReduce for Root objects representing last coordinates of solutions of triangular systems. The bug affects cases where the last coordinate of the solution is real, but some of the other coordinates are not real. Thanks for pointing it out. The problem can be fixed with the following patch (you can put it in your init.m file). ...

17

Instead of simply using Red as the directive, set the face and edge colors explicitly so that there is no ambiguity. If you use FaceForm@Red and EdgeForm@Red (or None) in your definitions for redDisk and redRectangle, you get legend markers without black borders.

17

Although I haven't examined it to see how complete it is, putting Virtual Book into the search bar of the Documentation Center quickly found this: http://reference.wolfram.com/language/tutorial/VirtualBookOverview.html Which can be accessed locally with: tutorial/VirtualBookOverview

16

Yes! It is possible, although it takes some spelunking. Upon some searching with Names, I came across three relevant contexts where the predictive interface functions live: PredictiveInterface, PredictiveInterfaceDump, and Predictions. This last one is where the action happens. Luckily, the symbols were only ReadProtected, and their source code was ...

16

You can't actually tell the LineLegends construct what the BaseStyle option of the enclosing plot is. But you can set the BaseStyle option for the LineLegend as well. Do not be fooled by the red text when you type BaseStyle inside the LineLegend! This is just another of those cases where things work even though they are not documented and show up in red. ...

16

As of Mathematica 9, multiple autocomplete templates are supported and the different templates are delimited by newlines. So for your example, you'll need to define them as: myfunc::usage = "foo[x,y,z] will combine x, y and z for you. foo[x,y,z,w] will be even better.";

16

I would proceed like the following. It will be natural to propose that the win-event occurs following BinomialDistribution with probability $p=0.8$ so that we can use the built-in BinomialProcess to simulate the win and losses in $20$ time steps for $50$ sample paths. timstep = 20; win = BinomialProcess[.8]; samplepaths=50; process = RandomFunction[Evaluate[...

16

For a more clear view, here is a table of some of the Region functions. AppendTo[$ContextPath, "Region"] Clear[testfunc] testfunc[reg_] := {ToString /@ #, Through[#[reg]]} &[{ ConvexRegionQ, BoundedRegionQ, RegionDimension, Module[{dim = RegionEmbeddingDimension[#]}, ... 16 One may also call up the old navigator palette with TreeBrowse`DocsNavigatorLookup[False] 15 This happened to me too and apparently, is a problem with the student version. Arnoud helped me figure out a work around for this. In your$UserBaseDirectory/Licensing, you should find a mathpass file that looks something like this: (*userregistered*) machineName1 ID ActivationKey1 Expiration1 UserName machineName2 ID ActivationKey2 Expiration2 UserName ...

15

As others noted, the increase in file size is due to font embedding. There is a set of 14 standard fonts that every PDF reader should know about and should be able to handle. The usually do not need to embedded in PDFs. It seems that previous versions of Mathematica did not embed these fonts by default, but version 9 does. There are two relevant Front ...

15

In Version 9, in cells with Title, Subtitle, Subsubtitle or Section, Subsection, Subsubsection, ..., Subsubsubsubsection (perhaps others) style, Backspace in the beginning of the cell changes the cell style to the style of the next level up the hierarchy (e.g., Subsubsection > Subsection > Section). Similarly, Tab changes the style of the cell to ...

15

This is from Wolfram technical support: De-select Help > Internet Connectivity > "Allow Mathematica to access the Internet" and then try using the Documentation Center. If this fixes the hang then have them allow internet connectivity again and test the Documentation Center again. Finally, setting my proxy settings to "Direct connection to the ...

15

I have mined the Units package for the names of all units defined therein and correlated them to the built-in strings recognized by Quantity(referenced here). I then define a new function Quantify to convert the old school units into Quantity objects. unitRules = Dispatch[{Abampere -> Quantity[1, "ABAmperes"], Abcoulomb -> Quantity[1, "...

14

Here's how to do it for more recent versions of Mathematica (specifically, 9.0.1): Get Retinizer, mentioned in other posts Show Package Contents of Mathematica, navigate to ../Mathematica/Contents/ and open Info.plist for editing. Delete the lines for NSHighResolutionCapable:True. Save the plist. Open Retinizer and drop Mathematica onto it as instructed. It ...

13

In the meantime, I was playing around. This is just to add a hotkey (Alt+k in windows) to replace what you have written so far with the partial symbol found. I don't know if it is a useful thing if we don't add it a way to handle multiple findings. Put this in a "init.m" file, inside FileNameJoin[{\$UserBaseDirectory, "Applications", "AutocompleteBonus"}] ...

13

Edit: Shorter ImageTrim version as pointed out by Matthias Odisio Use MorphologicalComponents and utilize ComponentMeasures to extract the "BoundingBox" which is already the row- and column-number you can then feed directly to ImageTake or even better to ImageTrim. ImageTrim has the big advantage that it can handle the bounding box coordinates directly: ...

13

On my system, setting the following to False works (Mac OS X): (in Preferences->Advanced->"Open Option Inspector")

Only top voted, non community-wiki answers of a minimum length are eligible