# All Questions

7 views

### Method options for DensityPlot and ContourPlot

What Method options are allowed for DensityPlot and ContourPlot? I am unable to find this ...
79 views

### Throttle EventHandler KeyReleased

What might be the most elegant way to throttle the a,s functions triggered by an ...
808 views

### Determine the Number of Lines in a Text File

I have looked and looked but I do not see a simple efficient way to get MMA to return the number of lines in a text file? I thought about reading the file until it returned the EOF marker, but that ...
9 views

### Background color does not display in InputField unless Appearance option is also specified

I get the same behavior for v.10.0.2 and v.9 with OS X (10.9.5) : No background color is displayed in InputField if I just set properly the option. For example, ...
33 views

### Unable to Discretize a Region

I'm trying to compue a mesh of full 2D region delimited by the a circle transformed with a Complex map. ...
37 views

### How do I plot results of complicated calculations in Mathematica?

I am new to Mathematica and am struggling with making plots of how features of solutions vary with parameters. For example, I can find the eigenvalues and zeroes of a Sturm Liouville problem (showing ...
25 views

### Reading parameters from file and use them as parameter of a function

Hi all: given the code ...
51 views

### How to export a vector of vectors (Mathematica 8)? [on hold]

I would like to export the object type: { {{"a", "n", "y"}, {"a", "s", "k"}}, {{"b", "y"}}, {{"d", "a", "t", "e"}, {"d", "a", "y"}, {"d", "r", "y"}} } and then ...
47 views

### Time Series Analysis - How does it Difference?

In languages other than Mathematica (especially R) if you want to do any time series analysis, you must always difference the series according to some feature of the series in order to satisfy at ...
159 views

I use ...
93 views

### How can I improve ContourPlot to get smooth curve?

I am working on the ContourPlot to creat contour line of a InterpolatingFunction recently. This is my data. This is my simple ...
47 views

### (Tree) Graph Layout

I am trying to draw a graph in a tree-like form. I can't use TreeGraph because what I am drawing is not properly a tree (has loops) so TreeGraph won't draw it. Here is the code: ...
60 views

### Headings, subheadings, text cells etc and Alt+n

This is a minor point but annoying. I have just upgraded to version 10.0.2.0 and discovered that you must select a bracket before doing Alt+1, or Alt +7 to make a cell a heading or text cell. This was ...
37 views

### Normalize centrality measures

How I can normalise centrality measures? Can I use Normalize function? I give example of unnormalized measures ...
51 views

### Fitting higher order ARIMA models hangs, never completes

I'm working with some data that is 12 month seasonal. However, when I try to fit it to an ARIMA(12,1,3) for instance, my PC's CPU cranks up to 100% and the job never finishes. Here's some sample code. ...
131 views

### How can I use ContourPlot to creat streamline for a free surface domian: proper arrow orientation and correct domain?

I get into trouble when I use ContourPlot to draw streamlines in a free surface flow domain. This is my data.The data are a little bit big, please be patient. ...
56 views

### How to set the width of grid elements in pixels?

That is all: How can I set the width of columns in a Grid in terms of pixels instead of 'ems'? To be more precisely, I want to create a grid that is 330 pixels ...
129 views

### Plot of Implicit Equations

I've read Cool Graphs of Implicit Equations recently. In the article, it mentioned a software GrafEq which can draw graphs of arbitrary implicit equations. For example, And I've tried several ...
66 views

### Can I define an axiomatic (Boolean algebra) system and prove theorems using Mathematica?

The general question is Can I define an axiomatic system and prove theorems using Mathematica? The more concrete one is about Boolean algebra. I consider this axiomatic Boolean algebra system ...
36 views

### MinorPlanetData position [on hold]

In versions prior to 10, I can get the heliocentric position of an asteroid with AstronomicalData["Ceres","Position"] and get a simple array of the three ...
28 views

### How can I define a metric in xAct?

I'm using "xAct" package and I want to define a my metric, that is a non standard metric. For example, my metric is diagonal ...
733 views

### Buying a new computer (specifically for Mathematica)

My current computer is a MacBook Air, the mid-2011 version: 4 GB RAM, 1.7 GHz Intel dual core. It runs Mathematica 9 smoothly, but a bit too slowly for my taste. I use Mathematica almost exclusively ...
69 views

### Power[__] Pattern works like Level

I came across this case: ...
67 views

### Design matrix rank does not match

I'm attempting to fit a linear model and Mathematica returns the error message: "The rank of the design matrix 9 is less than the number of terms 10 in the model. The model and results based upon it ...
75 views

### How to check if Integrate solved the integral?

This seems something that must have been asked before, but I am not able to find something. Integrate does not return status nor throw error when it can't find antiderivative. It just returns the ...
106 views

### Specifying and solving a PDE on an L-shaped domain

I wish to solve Laplace's equation with Dirchlet boundary conditions on an L-shaped domain as described here http://www.inf.ethz.ch/personal/tulink/FEM14/Ch1_ElmanSyvesterWathen_Ox05.pdf I know how ...
50 views

### Shifting Columns in an Array Efficiently

I am trying to find a more efficient way to shift the columns of the partitions of an array according to a defined slope and fill in the shifted regions with zeros I have done it below but, I know it ...
17 views

### Remote Kernel configuration works in v9 but not in v10

I have both v9 and v10 currently installed on my computer (Windows 7). For reasons that are not entirely clear, if I create a new remote kernel in one version, it is accessible to the other; however, ...
33 views

### Ordinary Least Squares (OLS) with RLink

I need to calculate the parameters b0, b1 and b2 in: ...
109 views

### Define a Recurrence Table involving other tables

I'm relatively new to using Mathematica. Previously I used Matlab, but lately I noticed that the numbers i got in both of them do not match (mostly it seems that Matlab lacks precision...). The ...
35 views

### Inverse of function including hyperbolic cotangent [on hold]

How can I create a numeric function for the inverse of $y(z) =\coth{z}-\frac{1}{z}$, over the range of $y\in [0, 1]$ and $z\in [0, \infty]$?
44 views

### What are the differences between these functions when used for NMaximize?

In short, the question is how to construct the function you want to optimize? ...
38 views

### Unit conversion is not simplifying units

I'm running into what looks like an error. ...
32 views

### Multicolumn sorting with ordering functions and precedence

I am aware that the question of "how do I sort on a column" has been asked in various forms, most notably this one. While some powerful solutions have been presented, as far as I can find no one ...
68 views

### Is there any function in Wolfram Mathematica simmilar to fft.fftfreq (Python)

Here is an explanation of fft.fftfreq I have data with random noise: ...
1k views

### Sorting a list with secondary criterion

Is there an easy way to sort a list on multiple levels of criteria? By this I mean, first the list should be sorted according by criteria A (the same as using the usual sort function, ...
370 views

### What is the real default CellEvaluationFunction?

The default CellEvaluationFunction is Identity but one can quickly see that this is handled specially as an equivalent function, ...
174 views

### Understand MeshFunctions with Intercepts

Bug introduced in 7.0.1 or earlier and persisting through 10.0.2 or later While I've been thinking about this question, I tried to visualize the Intercepts. I use three snippets, actually snippet ...
53 views

### How to define a two-variable sequence?

I would like to define the following function but I am having a problem. I would like Mathematica to "understand" what I mean by writing "+...+". For example, for large values for $n$ and $m$ it takes ...
31 views

...
398 views

### Computing Many Slow I/O Operations

In working on a custom stock screener, I often need to run mathematica code like this: ...
98 views

### How to execute a notebook in background

I am developing an algorithm that take time to return results. I thought if I could run this notebook in background and continue to develop the rest of my work. It is possible to do that?
32 views

### Align axes in GraphicsGrid - with one rotated figure

I would like to align the axes of the three plots: g3, gPosteriorMarginalMu and gPosteriorMarginalSigma: ...
48 views

### How to execute code on FrontEnd quit?

I would like to execute a block of code whenever the FrontEnd quits. I know about \$Epilog, but it seems that this would execute every time the kernel quits, which is not what I want. Does anyone know ...
64 views

### How to speed up execution of this function?

How can I speed up the execution of following function, specifically for larger values of n? ...
76 views

### Control which frontend session/kernel the Workbench gets attached to

(I am new to Workbench) I have 2 or 3 Mathematica frontend sessions open with a few of them running some long-running codes. When I try to open/edit a code in Workbench, I see that it sometimes it ...
30 views

### Add a legend to a DiscretePlot - Version 8 [duplicate]

I have found several topics with legend issues but no answer to my problem. I have a function and I need to plot it for integers only (hence discrete plot) and then add a legend too. But ...
25 views

### Package function not evaluating

I have a short package like this: ...