# All Questions

379 views

85 views

### Different distance in .jpg plot and .eps

I noticed that when I run my code to draw a plot: ...
31 views

### Greek symbols are all bold in MM 10 over Linux [duplicate]

I upgraded recently to Mathematica 10, on a Linux system, and I'm quite annoyed to find that all the greek symbols automatically show up in bold: I suspect the issue is some missing font somewhere ...
111 views

### How to write Mma notebook input that modifies itself?

Is there a straightforward way to reference and modify a cell from within itself? This is a little outside the ordinary use case and certainly not good practice, but I would like to execute an input ...
138 views

### Distribution of block maxima of gaussian random variables

I try to verify the following result of extreme value statistics that the distribution of the block maxima of Gaussian random variables converges to a Gumbel distribution. To this end, I first ...
281 views

### Plotting bug in Mathematica 9.0

I want to plot transition dipole moment vectors at their respective positions. For example, given a transition dipole moment with position vector R, I want to draw ...
419 views

### Pie/doughnut chart smarter labeling

There are numerous options in Marthematica for pie chart labels positioning: ...
252 views

### Distance between ticks and axes [duplicate]

I've created a plot using the following code: ...
87 views

### Draw segment in arrayplot and get intensity value and coordinates in segment

I want to segment an arrayplot donut in to 6 pizza slices and export per segment the coordinates and intensity values of the pixels inside of it. I found a good example, which used RegionMember to ...
113 views

I was using Mathematica to get the series solution for Legendre equation. But when I get the recurrence relation and use RSolve: ...
164 views

### Easy way to perform multiplication of two 2x2 matrices, that contain list elements?

I have two 2x2 matrices, which elements are lists (so overall structure can be complicated). I need to perform matrix multiplication of these 2x2 matrices as if the elements didn't have its inner ...
533 views

### Mapping StreamPlot onto spherical surfaces

Suppose I have some vector field equations $(f(\theta,\phi), g(\theta,\phi))$. The StreamPlot can be created easily in 2D, but I would like to visualize the stream ...
83 views

### Automatically sizing elements in a DistributionChart with custom ChartElementFunction

This is a follow-up to some related questions: 46770 and 60600. I'd like to make a DistributionChart where the elements are histograms with my own custom ...
895 views

### Equation is solved quickly using Solve but takes too long using NSolve

I have the following simple command to solve for h in an equation: Solve[(1 - 2.25577*^-5*h)^5.25588 == 0.9644952131579817, h] ...
575 views

I want to download historical S&P 500 stock prices and combined them into one big file, having only one column of date referencing all stocks. Here is what I have do so far. ...
144 views

### PolarPlot with Dashed and PlotRange freezes for simple function

When I plot PolarPlot[1/(1+Cos[6-t]), {t,0,2\[Pi]}, PlotRange->{{-4,4},{-4,4}}, PlotStyle->Dashed] everything works normally, but when I change the ...
169 views

### How do I declare that a variable represents a real number?

How do I tell Mathematica that a variable is a real number. I searched for this question here and in Google and nothing that was suggested seems to work for me. I must be missing something. My code is ...
504 views

### How to import files with headers?

R has excellent header supports such as read.table with header options. I don't want to mess up with text-processing or stream-processing. I am looking for a similar tool as in R because it saves a ...
513 views

### Place legend without border above the plot

I use Mathematica 7.0 and as far as I know, there is not method PlotLegends, only PlotLegend. I want to set my legend - without background, shadow and frame - above my plot, as in the example belowe: ...
47 views

### Is there a fast method to open the Format> Font dialog? [duplicate]

I would like to rephrase my older quastion about shortcuts. Excuse me for any possibe dublicates! My problem is that I spend a lot of time to go to menu Format> Font> choose a font and a font ...
62 views

### Is it possible to import Spell Check and Hyphenation Rules from OpenOffice.org?

Is there a way to import in Mathematica a dictionary(Spell Check and Hyphenation rules) from OpenOffice.org? Or at least, is there a simple way to programatically correct and hyphenate the text in the ...
213 views

### Plot: How set markers in plot in front of axes

I draw a plot using ListPlot. But I noticed that PlotMarkers are 'covered' by the axes; see example below: I was trying to ...
45 views

### Is it possible to have Crop marks for camera alignment and visualizing purposes?

I am looking for a simple way to put crop margins in Mathematica's PDF output like the Crop package in Latex. Could be this done with Mathematica's Frontend or do I have to use an external program?
51 views

### How could I have each new cell framed?

I am looking for a way to have a frame around each new cell of any style in Mathematica. This is very helfpful for me because I have an optical guess where to put the hyphenation point( -) before the ...
159 views

### Computing Domination Numbers of Graphs

Is there a way to get Mathematica to compute the domination number (size of the smallest dominating set) of a graph? There doesn't seem to be a direct command for this, so I'm not sure if there would ...
631 views

### What is the best way to draw a shaded table?

I'm trying to format a raster-style table with row and column headings and in which each cell is shaded according to the value in the cell, and the value of the cell is displayed in as text in a ...
204 views

### How to determine foci colocalization in a microscopy RGB image

I have a series of microscopy RGB images of the cell nucleus like this one The red and green dots are clusters of different proteins and I would like to determine when these dots colocalize. ...
188 views

### Pattern matching: Times[a_] vs Times[a__]

I don't understand why MatchQ[ HoldComplete[Times[3, 2, 2]], HoldComplete[Times[a_]] ] is returning True. I thought that ...
40 views

### Apparent issue with derivative of FractionalPart [duplicate]

This issue came to my attention from Math.SE: http://math.stackexchange.com/questions/1015325/is-the-derivative-of-x-on-0-1-always-equal-to-1/1015342#1015342 To summarize, it appears that ...
111 views

### padding with zero in Table

I am creating a grid as ...
238 views

### matrix multiplication speed

Consider the codes below: ...
102 views

### Parabola plotting tangential to x = const, and y= const

ContourPlot[ pm Sqrt[x - a] + pm Sqrt[y - b] == Sqrt[c], {x, 0, 2 a}, {y, 0,2 b}] plots a parabola, but only a part between points of tangency (a, 0) and (0, b)...
60 views

### Speed optimization of Mean calculation in a previous calculated data range

I have following problem: My calculations work quite well with the shown testdata, the only problem is the speed of it. My original dataset is about 64000 datapoints, and it takes several minutes to ...