Version-specific issues for Mathematica 9

learn more… | top users | synonyms

45
votes
2answers
1k views

Is it possible to improve Mathematica's auto-completion feature?

In this answer Brett Champion describes how one can intercept and modify the suggestions used for auto-completion. Question: Is it possible to modify the suggestion for the automatic auto-completion ...
42
votes
0answers
655 views

Is it possible to customize the Suggestions Bar?

I'd like to be able to customize the Suggestions Bar in v9.0 to provide recommendations of my own. Possible example: when doing unit calculations, I'd like it to suggest converting the answer to ...
32
votes
1answer
1k views

Mathematica 9 cannot solve this Integral. Mathematica 8 could. Is this a bug?

I was trying to (re)calculate a problem of an older Wolfram blog post (Problem 11457, by M. L. Glasser) with Mathematica 9.0.0.0 (on OS X 10.8.2). ...
30
votes
2answers
783 views

Documentation searches hang frequently: Anyone else dealing with this?

I've been struggling with a number of hangs, dynamic timeouts, and outright crashes when using the search/documentation center in version 9. I've tried uninstalling/reinstalling and clearing ...
26
votes
2answers
592 views

DeleteDuplicates not deleting duplicates

It is not surprising that DeleteDuplicates[{5,5.}] returns {5,5.} because DeleteDuplicates ...
24
votes
2answers
607 views

Template completion

In version 8, if one evaluates test::usage="test[x,y]"; then types test, then shift-cmd-k (or shift-ctrl-k), a template ...
20
votes
1answer
260 views

eigenvector bug?

I have a fairly simple $3\times3$ complex matrix, $$ M=\left( \begin{array}{ccc} \frac{7}{2}-\frac{i}{2} & -1+i & \frac{1}{2}+\frac{5 i}{2} \\ -1+i & 5+i & -1+i \\ ...
18
votes
3answers
2k views

Graphics exported from Mathematica 9 are very large because even standard fonts are embedded

I've upgraded from Mathematica 8 to 9 (which apparently leaves the old version installed and usable which I didn't expect). I see a significant difference in the size of the PDFs produced by 'Save ...
18
votes
1answer
2k views

Install trial version of Mathematica 9 next to genuine Mathematica 8

This morning I installed the trial version of Mathematica 9. After I discovered that Export[] is disabled in trial versions, I wanted to use my genuine Mathematica ...
18
votes
0answers
156 views

M9 performance regression for Fold?

I noticed an over 10x performance drop on Mathematica v9.0.1 (as Oleksandr R. commented, also v8) compared with v7.01 for this code: ...
17
votes
1answer
547 views

Web Browser Screen Shot

I have Safari, Opera, Chrome, Firefox and IE installed how might a get a browser screen shot of a set of HTML code from inside Mathematica(for any of those browsers)? (Image is optional) The ...
16
votes
1answer
251 views

Kernel inexplicably hangs if I define a pure function without suppressing output

Save any unsaved work before trying as it may crash Mathematica and other programs by filling up the memory! In v9.0.1.0 on OSX 10.8.5, if I start a new session and define two functions ...
16
votes
1answer
620 views

Bug in Solve (Mathematica 9)

Just came across the strangest bug under both Mathematica 9.0.0 and 9.0.1. If one enters: Solve[m == p Sin[x] && -Pi/2 < x < Pi/2, x] ... then ...
15
votes
2answers
197 views

Graphics elements do not line up perfectly in exported PDFs

Graphics elements do not always line up perfectly in exported PDFs. Take for example ...
15
votes
1answer
669 views

How to export and import Graphs with additional data?

I'm trying to export and then later import graphs with additional data added such as VertexLabels and EdgeLabels. When I export ...
15
votes
1answer
221 views

Multiple templates for a single user-defined function

How do I use the ::usage tag to allow the Mathematica v9 front end to know that there are multiple ways to call an overloaded function (a function that can have ...
14
votes
2answers
199 views

What are Root objects with multiple polynomials?

In Mathematica 9 a new flavor of Root object with multiple polynomials was introduced. For example, ...
14
votes
2answers
213 views

Upon PDF export, edgeless rectangles do not tile perfectly, and corners may be cut. Is this a bug?

Exporting the following as a PDF file Graphics[{ {Red, Rectangle[{0, 0}, {1, 1}]}, {Green, Rectangle[{1, 0}, {2, 1}]} }] does not produce perfectly tiled ...
14
votes
1answer
1k views

Version 9 Blue Screen or Self-Test Error on Windows 7 64-bit

Update There is now an official response from Wolfram Support on this issue. Having recently installed Mathematica version 9 64-bit on Windows 7, I keep running into Self-Test Errors evaluating ...
14
votes
2answers
353 views

Auto-completion doesn't work as my expectation in version 9.0

When I input the following line in version 8, and press Ctrl+K after Re, I can get a drop-down auto-completion list including ...
13
votes
0answers
133 views

How to format usage messages such that function templates are parsed correctly?

Is it possible to format usage messages (with italic arguments etc) such that Mathematica 9 still parses function templates correctly? For example, plain usage messages work when pressing ...
12
votes
3answers
170 views

Wrong numerical value while exporting to a JSON string

The following code: ExportString[{"a" -> 2000000., "b" -> 0.000001}, "JSON"] Gives the results ...
12
votes
1answer
393 views

Simulating discrete time stochastic dynamic systems

What is the canonical way of simulating discrete time stochastic dynamical systems in Mathematica using the new functionality of Random processes? To take a concrete example, lets consider the ...
11
votes
1answer
208 views

FindInstance returns Indeterminate in version 9, but not in 8

Here is a trivial system of equations in three unknowns for which FindInstance obtains a solution: ...
11
votes
1answer
157 views

Predictive code completion and custom functions in contexts

Suppose I work for organisation PQR, and have been developing a suite of packages, PQRUtilities, PQRVisualization etc, all of ...
10
votes
3answers
550 views

Extract connected components from PNG image file and write to individual PNG files

Given the PNG image below with the three leaves in it, I'd like to extract each individual leaf and write it to its own PNG file, using Mathematica 9. Note that in the original image, the box bounding ...
10
votes
7answers
546 views

How to dynamically toggle curves on/off in a crowded Plot?

When multiple curves appear in a single plot, it is useful to interactively turn certain curves on or off to visually compare smaller numbers of curves. It is trivial to put a quick dynamic together, ...
10
votes
1answer
321 views

How can I get LineLegend to pick up my plot's BaseStyle?

The new legends functionality in version 9 really simplifies creating legends, and it automatically picks up the styles of the lines. ...
10
votes
1answer
274 views

How do I seamlessly migrate from the older Units package to Mathematica 9's Quantity objects?

I have several notebooks that make use of the Units package and would like to be able to work simultaneously with the older units and ...
10
votes
3answers
409 views

How to use legends from PlotLegends in LevelScheme?

I've been attempting to find efficient ways to generate graphics with legends for export, and have been working with both LevelScheme and the new (to v9) ...
10
votes
2answers
208 views

SaveDefinitions->True changes the displayed image

I have a Manipulate[ ] that displays an image with a superimposed Locator object. It works fine when I have ...
10
votes
1answer
162 views

Cancellation of common terms

Can someone explain why the term A in case 2 does not get canceled out when case 1 does? I use "9.0 for Microsoft Windows (64-bit) (January 25, 2013)" ...
9
votes
1answer
119 views

Is it possible to make v9 ignore case when completing names?

In v8, I could type, say, fulls or texf to get FullSimplify or ...
9
votes
1answer
226 views

Possible bug with second argument of Dynamic

According to the documentation, Dynamic Details & Options section, especially: For interactive mouse operations Dynamic[expr,{f_start, f, f_end}] typically ...
9
votes
1answer
145 views

Sporadic bugs in multidimensional SparseArray objects

Resolution WRI affirms that SparseArray[__] is broken (in 9.0 and 9.01) WRI's suggested workaround is SparseArray//Normal My ...
9
votes
1answer
178 views

Mathematica9: NDSolve slows down after repeated calls

I have noted that in Mathematica 9 my code, which involves a lot of calls to NDSolve, slows down considerably after some time. Apparently, the problem is NDSolve itself and it seems to be related to ...
8
votes
1answer
484 views

Mathematica 9 does not read mathematica 8 “.mx” files

Having written a lot of code on M8, I recently switched to M9 and tried to run the code on M9, the code starts by loading an .mx file written by M8, but M9 wouldn't read the .mx file saying that it ...
8
votes
1answer
249 views

Mathematica8 can compile this function but Mathematica 9 can't if I set CompilationTarget -> “C”

Following code worked on Mathematica 8, but in Mathematica 9 it can't be compiled, it return this message CompiledFunction::cflist: Nontensor object generated; proceeding with uncompiled ...
8
votes
1answer
310 views

LogPlot axes labels destroyed when working in high precision

(I'm using Mathematica 8.) I have a Taylor series: poly = Normal[Series[E^x, {x, 0, 10}]] I want to produce a log-linear plot of the error. This is easy enough ...
8
votes
1answer
154 views

in v9, backspace causes cell to become section style

In the front end of v9, in any given cell that contains content, if I hit backspace to clear the content until there is nothing left, and then hit backspace one more time, the cell becomes a ...
8
votes
1answer
203 views

Deconvolution of Image3D object using ImageDeconvolve

I am trying to get the ImageDeconvolve function to work with Image3D objects. In the documentation of ImageDeconvolve it says: ...
8
votes
0answers
177 views

Break[] inside ColorFunction

f[x_?NumericQ]:= (Do[Break[],{i,1,2}];x) Plot[x,{x,0,1},ColorFunction->(ColorData["Rainbow"][f[#]]&)] Break::nofwd: No enclosing For, While, or Do found ...
7
votes
3answers
147 views

Problem with CurrentValue[“MouseOver”] when graphics are wrapped with Deploy

Please take a look at following toy example: ...
7
votes
2answers
253 views

Problem with NIntegrate when WorkingPrecision is specified

I am trying to evaluate this integral numerically: $$ \int_0^{\infty } m \exp (-m) J_1(m){}^2 \, dm $$ Everything is OK when only the integration method is specified: ...
7
votes
1answer
408 views

How can I display a multigraph with different colored edges?

I'm new to Mathematica(version 9) and I'm trying to display a multigraph with different colored edges. Here's my code so far: ...
6
votes
1answer
169 views

In version 9 PlotLegends, how can I remove the strange edges that appear around LegendMarkers?

I'm running Mathematica version 9. I am using ListPlot to plot two sets of data. For each data set, I am using different ...
6
votes
1answer
66 views

Infix strange behaviour

Maybe this is a bug or maybe Infix acts differently than the other functions. The fact is that both: TreeForm[Infix[f[x, a]]] and ...
6
votes
0answers
145 views

Using stateful web services with Mathematica 9

The WebServices package in Mathematica 9 no longer seems to support stateful web sessions. This requires the client (i.e., the WebServices package) to pass back the HTTP Cookies that it receives from ...
5
votes
2answers
604 views

How can I recreate Trott's Riemann Surface plot in Mathematica?

In reading Michael Trott's Visualization of Riemann Surfaces of Algebraic Functions, he has: ...
5
votes
1answer
149 views

Why doesn't FrameTicks work with Histogram?

An example: Histogram[RandomVariate[NormalDistribution[], 1000], PlotRangePadding -> 0, Frame -> True, FrameTicks -> {{{0, 0}}, {}}] I expected this ...