8
votes
2answers
236 views

How can I prevent a compiled function from using uncompiled evaluation?

I write a code that creates a compiled function, and then call that function over and over to generate a list. I run this code on a remote server via a batch job, and will run several instances of ...
3
votes
2answers
132 views

Circumnavigate a curve (part 2)

I got help from Kuba on a previous post regarding this issue I'm having but after integrating that solution into my code, the problem changed and I am left with something I don't know much about (even ...
4
votes
0answers
104 views

Make Mathematica show function template's arguments in different lines (i.e. in column) by default?

I feel a bit uncomfortable with Mathematica 10's layout. I mean, I'm impressed how powerful functional programming can be and so on, but it's me or those programs are often just a bunch of nested ...
1
vote
1answer
360 views

Convolving data set with gaussian profile

I have a spectrum looking like List, and I want to convole it with a gaussian of the form PDF[NormalDistribution[μ, σ], x] (where σ also depends on x). The raw ...
2
votes
1answer
267 views

Why won't Mathematica obtain eigenvectors for this symmetric matrix?

The matrix is a real symmetric 4x4: ...
1
vote
2answers
82 views

Solve gives a solution which is contradicted by an example

I have the problem as described in the title. Here is the code: ...
1
vote
0answers
38 views

Operating one dialog from inside another

Nested Dialogs Experiment The InsideDialog works as expected when invoked from the command line. When started as a button action inside OuterDialog, it takes a very long time to start up (many ...
3
votes
1answer
107 views

Strange message appearing when using Wolfram Alpha in Mathematica

I have Mathematica 9.0.1.0 and I've recently noticed that whenever I press the equals sign and type something like Sech[x]^2, I get the message: I then tried other search queries, such as p^2, ...
13
votes
1answer
104 views

Report: IgnoringInactive: a bug?

Bug introduced in 10.0.0 and fixed in 10.0.1 Just to report. IgnoringInactiveshould work with Cases. In agreement with the ...
5
votes
1answer
184 views

Construct a function that can generate a geometry by extruding a section

Toady I want to construct a geometry shown as below: I know the Mathematica has the functions like Cylinder, Sphere and so ...
2
votes
1answer
105 views

Numerical evaluation of ChebyshevT

When I evaluate the following Chebyshev series of the first kind in two different ways, I get two very different results: ...
1
vote
0answers
137 views

JSON problem? MMA10, Windows 7 or Linux Mint

I want to test Mathematica 10 to import various data format. In this case, I have a JSON file with the following data and structure: ...
2
votes
1answer
174 views

How to set range of values on BarLegend and Manipulate Polygons color filling using BarLegend

I have a simple graphics which display a polygon and a bar legend. I am having difficulties defining a range of values for my bar legend. What I am looking to get is 4 values: 10^-10, 10^-6, 10^-3, ...
2
votes
2answers
204 views
2
votes
1answer
173 views

How to draw a 3D convex hull of a set of points with styling

I´m trying to obtain the convex hull (with transparent faces) of a small number of points. I would like the Plot to have the points shown with small spheres numbers 1, 2, 3, ... along the axes ...
10
votes
4answers
304 views

Why do quote marks appear in output when saved with Save Selection As?

Update #2: This behavior has been confirm across platforms and in multiple versions. Therefore: Is this a bug or a feature? Can I disable this "feature" so that copying a selection of Cell contents ...
1
vote
2answers
173 views

Minimize loop optimization

I'm new in Mathematica 10. So far, I have a two variable-function and I've use Minimize to find the optimal solution. Nevertheless, I'd like to make a sensibility analysis and study how this optimal ...
0
votes
0answers
28 views

Problem with replacing a head with another head using pattern [duplicate]

Why would this work Times[a, b, c, d] /. Times :> List (* {a, b, c, d} *) but this doesn't work (the Times still remains ...
11
votes
2answers
374 views

Probable Bug in ConvexHullMesh

Consider points taken from the following parametric plot. See this question ...
3
votes
3answers
219 views

How to generate and label multiple histograms as Query operator(s)?

The Dataset documentation doesn't indicate how to label a Histogram with the key. ...
2
votes
2answers
138 views

Save state of buttons, sliders, listpicker in enterpriseCDF?

How do you make enterpriseCDFs save the state of buttons sliders, listpickers etc? I manipulated a CDF and saved it on exit but all the buttons etc were reset when I started it again. I've made a ...
2
votes
2answers
135 views

Map 2 list to a function

Im playing around with CountryData and I want to pass it 2 lists as argument, listCountries = {...} and ...
3
votes
1answer
277 views

The front end encountered an error while processing a “NotebookPredictions” packet

I occasionally get the error The front end encountered an error while processing a "NotebookPredictions" packet. I cannot find any documentation for this error message online. It does not ...
1
vote
3answers
535 views

Mathematica Solve function does not solve double exponential

I am trying to solve: Exp[-a Exp[-x/b] - c Exp[-x/d]] == Y to x, and using the command ...
1
vote
1answer
62 views

LevelScheme for ListPlot Joined->False exceeds the size of the Panel

In two side by side panels, using LevelScheme, I output the same data using ListPlot. In the first panel I use option Joined->False, while in the second Joined->True. The data in the second panel is ...
2
votes
1answer
306 views

How to enter chemical equations?

When I want to take chemistry notes and write down a formula such as H_2O or C_2H_5OH it enters "Math mode" which changes the font size and italicizes the letters. Is there an easy way to properly ...
0
votes
0answers
101 views

Invert 3D objects (shape) to 3D patterns objects (shape)?

Is it possible to invert the 3D object (positive model) to 3D pattern objects (negative model) (for example, patterns for casting). For example (positive model): ...
2
votes
1answer
266 views

Workbench fails to run on OSX. Reports “Front end could not be launched.”

I've just installed Workbench 2.0 and I am trying to use it with Mathematica 10. Following the examples in the help I created the sample Test project. When I hit run it does the following. ...
4
votes
3answers
142 views

Symmetric list with maximum in center

How to sort a list, e.g. RandomInteger[{0, 100}, 50] that the Maximum is in the center and all other elements are placed symetrically in descending order around ...
2
votes
0answers
271 views

ParallelSum in Mathematica 9 vs 10

Here's part of a package I'm working on: ...
0
votes
0answers
84 views

strange timing behavior

The following code is from a book about Mathematica. ...
1
vote
1answer
72 views

2D Arrangment/Optimization Problem

Okay, I have a list of angles, call it A. How would I arrange them in a 2D m-by-n grid G such that the distances between each adjacent angle-element (row- and column-wise) is minimized? G has as ...
2
votes
1answer
96 views

About TetGenTetrahedralize Mesh Size

I have used TetGenTetrahedralize to generated a cubic mesh. I want that the edge size of the triangle to be 0.2, how can realized this? And What does the word "pq1.414a1" mean? inst1 = ...
0
votes
1answer
53 views

How to save a list of analytic expressions in a file? [duplicate]

I use Mathematica to calculate many analytic expressions, some of them are generated by a loop process, the result can be a vector with a index, e.g., f[i]. Now ...
3
votes
0answers
63 views

Does anyone know the options for “HierarchicalEdgeBundling” in Mathematica?

I'm looking to reproduce the types of graph layout that are possible in D3 (http://bl.ocks.org/mbostock/7607999) in Mathematica. Since Mathematica doesn't explicitly support force directed edge ...
8
votes
3answers
203 views

Incompatibility of Row and TeXForm

Bug introduced in 9.0 and persisting through 10.1.0 or later Update: Since no one has been able to give a reason for this change in behavior or provide a solution I am tagging this as a bug. ...
8
votes
2answers
251 views

Webdings are different on V10 vs V9. Why?

I use FontFamily->"Webdings" in interfaces in several places, but among other things for custom opener icons, for example I use the following "icons" for open and closed openers: In version 10 this ...
11
votes
5answers
503 views

Plot the plane so different condition has a different color

I have a list of functions defined on the plane, and I want to know which one of those functions is smaller than the other functions at particular points. Currently, what I do is ...
1
vote
1answer
249 views

Plot Legends and Frame Ticks in Array Plots

Why do the frame ticks go away when PlotLegends->Automatic is inserted in an Array Plot? For instance, the following code produces an Array Plot with Frame Ticks. ...
3
votes
1answer
58 views

Need help in building a pattern [duplicate]

Suppose I have the following list: list = {w, r, {f, first, t, y}, {a, y}, last, {k, r, first, e}, m, e, last, r, t} I am expecting this ...
3
votes
2answers
239 views

Binarizing a matrix

I have an image with a few bright pixels with the remaining ones very dark. The difference is in orders of magnitude. I want to binarize this matrix (corresponding to the image) making all values ...
6
votes
2answers
274 views

NSolve missing solutions in Mathematica 10

Running Mathematica 8.0.4 and 10.0.0 on a Windows 8.1 machine. Processed the same code with both kernels: ...
9
votes
1answer
262 views

Anti-aliasing not working in Mathematica 10 and Linux

This issue appears to be fixed in version 10.1 While this works fine in version 9, in version 10.0 the Antialiasing setting has no visible effect any more I'm here on Ubuntu 12.04 64-bit ...
6
votes
1answer
202 views

Why is AllTrue much slower than VectorQ?

This seems to be a theme with V10, a new function dedicated to a specific task doesn't live up to expectation performance-wise. Mr. Wizard has already uncovered 2 such functions here and here. So how ...
7
votes
0answers
198 views

Graphics3D flickers in Mathematica 10 and Linux

Note: Fixed in version 10.0.2. Bug present in version 10.0.0. In the official Mathematica version 10.0, I get a very weird behavior when I try to rotate a 3d graphics The moment I click on ...
2
votes
3answers
163 views

Speeding Up Replacing of Labels in Large Matrix?

I am Mathematica novice and am trying to find a fast way to replace labels in some rather large matrices (512x512 or 1024x1024) that have resulted from segmenting images with WatershedComponents or ...
1
vote
3answers
134 views

How to limit only two “0 and 1” strings for an xor implement?

I tried to implement some logic gates for a series of "0 & 1" strings, just like and, or, nand, nor and not listed below. How could I limit xor only accept a two strings list as its argument? ...
0
votes
2answers
110 views

Collapsing summation

I am trying to write a command to collapse the sum of terms into an expression with summation. Something like ...
7
votes
1answer
194 views

How to write to the cloud quickly?

I am wondering how to most quickly log data during cloud execution. I do not need anything fancy: all I want to do is persist certain information for later analysis, with minimal blocking for the end ...
5
votes
2answers
320 views

What are the Slot Names in a Dataset?

I have a dataset which are keyed on {"Item", "Hour of Day", "Value"}. In the examples, I noticed that it is possible to apply functions using such as ...

15 30 50 per page