2
votes
1answer
177 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
306 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
180 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
29 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
395 views

Probable Bug in ConvexHullMesh

Bug introduced in 10.0 and persisting through 10.2 or later Consider points taken from the following parametric plot. See this question ...
3
votes
3answers
220 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
290 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
565 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
315 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
103 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
274 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
279 views

ParallelSum in Mathematica 9 vs 10

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

strange timing behavior

The following code is from a book about Mathematica. ...
1
vote
1answer
74 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
97 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
66 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
205 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. ...
9
votes
2answers
272 views

Webdings are different on V10 vs V9. Why?

Bug introduced in 10.0 or earlier and persisting through 10.2 or later I use FontFamily->"Webdings" in interfaces in several places, but among other things for custom opener icons, for example I ...
11
votes
5answers
514 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
261 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
241 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
276 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
267 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
203 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
199 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
164 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
135 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
204 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
329 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 ...
1
vote
2answers
94 views

Slider with varying scales

I am trying to implement a slider whose control range varies depending on the current value: ...
6
votes
4answers
706 views

Caesar's cipher

How can Caesar cipher be implemented? I want to use StringReplace but I don't know how to write the replacement rule to replace the characters with, say, the ...
0
votes
0answers
49 views

Marking certain detected points on an image [duplicate]

I have an image in which I had to detect bifurcation points of vessels. I manage to do that and now I have an image where these bifurcation points are 1 while all others are zero. What I want to is ...
1
vote
0answers
19 views

LegendLayout not working as asked [duplicate]

Why the following code does not result in row layout as specified (see the attached picture for result)? ...
10
votes
1answer
535 views

Converting structured data to a dataset [duplicate]

A Dataset seems perfect to represent structured data. Has anyone already thought about how to convert as efficiently/elegantly as possible an XML or JSON file to a Dataset in Mathematica 10 ?
1
vote
2answers
123 views

How to widen PlotLegends?

I have a plot whose legend, when placed at the bottom, is two lines rather than one: ...
7
votes
1answer
209 views

Can't plot rotated region

I was experimenting with the code from this question when I ran into another problem with regions. ...
2
votes
0answers
88 views

How to transform frame ticks from 1, 2, 3, … to x, 2 x, 3 x, …?

I want to replace the numbers on a framed plot's axes with that number multiplied by a variable, call it x. (The idea is that I'm plotting things which depend on ...
22
votes
3answers
844 views

DeleteDuplicatesBy is not performing as I'd hoped. Am I missing something?

Déjà vu: a new-in-v10 function should provide a better solution to an old problem, but my enthusiasm is curbed when I run timings. This time the function is ...
2
votes
2answers
296 views

A problem about function N [duplicate]

Toady,I have a problem about N,described as below: For example N[1/3, 5] (* ==> 0.33333*) and ...
0
votes
1answer
38 views

Interactively Manipulate SparseArrays or Lists

I'd love to use SparseArrayor List to group a set of parameters together in a function. ...
1
vote
0answers
181 views

How to define two polyhedron intersect or not?

Recently I have used Mathematica to simulate the concrete structure. The most important point is generate random concrete aggregate. As you know, concrete aggregate can be looked as a polyhedron. We ...
2
votes
1answer
171 views

Two discrete colors for surface with ParametricPlot3D

I am trying to create a plot of a surface that is yellow above the xy-plane (z>0), but blue below (z<0). My first attempt was to use ...
12
votes
1answer
205 views

Why doesn't repeated PatternSequence work with explicit pattern names?

Why would this work: Clear[f] f[a : PatternSequence[b_, c_]] := {a}; f[1, 2] (* {1, 2} *) and this also works: ...

15 30 50 per page