# All Questions

39 views

### Can I customize the shell command line prompt?

Is there a way to customize the command line prompt (e.g., colorize it) for MathKernel when it runs as a shell command (in general, but specifically on OS X)?
87 views

### DensityPlot: giving the same color to a range of values

The following command DensityPlot[x y, {x, -3, 3}, {y, -3, 3}, PlotLegends -> Automatic, ColorFunction -> {"Rainbow"}, PlotRange -> {{-3, 3}, {-3, 3}}] ...
82 views

### How to add a caption below a cell?

How can I change my stylesheet definition for a cell to optionally add a caption below? For example, I would like to add a caption to my "Program" cells shown here: like this (but with the option ...
71 views

75 views

### Points on discriminant variety?

I am trying to find a way in Mathematica to compute points on discriminant variety for modest size systems, but I couldn't find one. The system is something like: ...
67 views

### How to close all tagged input cells without closing their output cells?

I have tagged certain Input cells I want to be closed during a presentation. I close them as follows: ...
48 views

### Avoiding misconversion of data with ToExpression function [on hold]

I've got a list of data with the following structure which can be easily converted To expresion by some manipulation such as ...
35k views

### What are the most common pitfalls awaiting new users?

As you may already know, Mathematica is a wonderful piece of software. However, it has a few characteristics that tend to confuse new (and sometimes not-so-new) users. That can be clearly seen from ...
117 views

### Running MathKernel from Emacs brings cursor to end of line

When I start MathKernel from the Emacs shell, there are always extra spaces inserted so the cursor goes to the far right side of ...
282 views

### Alternative to Subsets to generate k-combinations

I need to generare a huge number of k-combinations for a quite big set of numbers (more than 100), so I would avoid Subsets because it requires too much memory (it generates all subsets at once). I ...
100 views

### Testing Notebook severe slowdown with newlines

Bug introduced in 10.0 and fixed in 10.1.0 I am having a severe slowdown problem with Mathematica 10 new Testing Notebook feature (File -> New -> Testing Notebook). Please try this simple test: ...
310 views

### In 10.1.0 BenchmarkPlot doesn't work?

Bug introduced in 10.1 and fixed in 10.2.0 In Mathematica 10.1.0 BenchmarkPlot from the GeneralUtilities package doesn't work; copying Taliesin Beynon's initial ...
35 views

### Failure in use of SetPrecision with Filter

I am working with a narrow band filter and I wish to use a high precision version. The filter is defined using Integers with Laplace variable s. Here is the, rather horrific, equation: ...
60 views

### Decouple 3 simultaneous 2nd order ODEs (of 3 dependent variables)

I have three simultaneous ODEs with coupled dependent variables. I was wondering whether there's a way for Mathematica to decouple these equations (into three ODEs of a single dependent variable ...
22 views

I'm trying to prevent Mathematica from opening previously opened notebooks when I start it up. I'm using version 10.0.0.0 on Mac OS X Yosemite. I've dug around in the preferences, and have tried ...
128 views

### “ParametricSensitivity” in ParametricNDSolve

"ParametricSensitivity" is listed as a Method in the documentation for ParametricNDSolve, ...
73 views

### Trouble summing over many indices [on hold]

I'm trying to solve a problem by using `Sum, but as I have many indices (14) in the summation, the running time is awful. My program looks like this: ...
52 views

### 2D plot using output from the other function

I would like to get 2D plot using output from the other function. FindInstance[0.5*x^2 + Cos[y + P] == 1, {x, y}, Reals] By changing values of P manually it gives ...
41 views

### Programatically align text in the Front End

One can select a cell and using the Front End menu perform Format -> Text Alignment -> Align at 25% Other options are given as well. I have learned from Stack Exchange how to create a button and ...
56 views

### Transform Matlab assignements (with vectors and matrix) into Mathematica equations [on hold]

In a previous post Transformation Matlab assignements To Mathematica equations, thanks to your help, I could transform matlab assignments to Mathematica equations by using ...