# All Questions

84 views

### How can I plot a 3D graph that shows how a histogram varies with a particular parameter?

How can I plot a 3D graph that shows how a histogram varies with a particular parameter? A simple example of this would be plotting a histogram of data described by a gaussian. The gaussian is of ...
217 views

### TeXForm and Symbolize

I would like to use TeXForm to generate LaTeX output as usual. However, I use subscripted variables such as c_t. Unfortunately, ...
83 views

72 views

### Get the path of the Image in Mathematica

When copying the Image from the hard drive to the Mathematica notebook, what can I do to have the path of the Image? I tried Imort[img] // Path where ...
240 views

### Incorrect evaluation of integral involving a DiracDelta, whose argument has infinitely many zeros

Let's say $X>0$ is a random variable with probability density $p_X(x)={\rm e}^{-x}$. Define the random variable $Y=\sin(X)$. From the transformation theorem for probabilities we know that its ...
129 views

### Controlling the size of Histogram in PlotLegends -> Histogram

I stumbled across this in the Mathematica documentation and thought it was pretty nifty except that the Histogram that appears as the plot legend is too small so the numbers on the histogram overwrite ...
107 views

### cut and project tilings — Amman Beenker tilings

A certain research paper gives a recipe for building Amman-Beenker tilings as a special type of cut-and-project algorithm. The result is usually a pleasant kind of aperiodic tiling shape. The ...
134 views

### Display level of recursion of a recursive function during execution

Given a recursive function, is there some simple way to display or store the value of recursion or "how many levels deep" the function is at a given time? For instance, if we wrote the recursive ...
181 views

### Embed 3D objects from Mathematica, in a pdf

Acrobat Reader 9+ supports interactive manipulation of 3D objects. See this file for example - another widely used example are PRC objects which may be produced by Asymptote. Exporting animations ...
161 views

### Solving 2-D Mechanical Systems

I'm trying to use Mathematica to solve a particular 2-d mechanical system. The system comes from "DESIGN AND OPTIMIZATION OF AN EIGHT-BAR LEGGED WALKING MECHANISM IMITATING A KINETIC SCULPTURE, “WIND ...
103 views

### Strange timings of integrals involving Hermite's polynomials

I have used Mathematica to calculate tunneling for quantum harmonic oscillator. The code is simple: ...
122 views

### How to convert expression with Subscript to string

I've tried ToString[], but it doesn't work properly with subscripts: How to convert expr with subscript to string with exactly the same FullForm that "expr" has?
44 views

...
123 views

### how to create Panel for Plot?

Can You advice me how to put the whole thing below into an interactive Panel, so I can values of parameters dynamically - type other values (alpha, beta, x0, y0, R, tmax) and plot updates ...
1k views

### About installing Mathematica on Ubuntu 14.04 LTS

I followed the first set of instructions here to install it from a ".sh" file, http://support.wolfram.com/kb/12453 At Step 4 and 5 I chose the folder "~/Desktop/Mathematica" as the folder to create ...
151 views

### Creating a right hand in graphics3d to illustrate the right hand rule

I would like to make a small right hand with fingers that curl to illustrate the right hand rule in graphics3d. Does anyone know if this is possible? For an example of what I'm looking to plot, see ...
58 views

### Refercing generic derivatives

I have a list of rules to the values of the derivatives of a generic (real valued, 3 variables) function, for example: df/dxdydz(0,0,0)-> 0.7. I would like to be able to generically reference this ...
107 views

### ListContourPlot: Not all labels are shown

I am trying to create a contour plot for the data I have, and I want to show all the labels on the plot but I am getting only 3 labels using ContourLabels, how can ...
153 views

### Getting terms and only evaluate specific parts

I want to expand the expression but I do not want it to evaluate. Sum[(HoldForm[1/(2 # - 1) - 1/(2 # + 1)] &)[i], {i, 1, 6}] However if you evaluate this you ...
144 views

### How to create a custom filling with ListPlot

We have the following simple example ...
65 views

### Export Time-dependent STL Graphics

I have recently found that Mathematica may export files (.stl) which may be used for Blender (3D pictures and animations). However, I am interested in mathematics visualization, and I suppose that ...
134 views

### How to combine multiple rules? [closed]

I have 2 rules: Rule[#, SomeFunction[#]] &/@ SomeFunctionArgs; Rule[#, OtherFunction[#]] &/@ OtherFunctionArgs; I want to have one function that combines ...
91 views

### How to make the result of Piecewise be a closed interval?

Description This question comes from two questions. Namely Q1 and Q2 The defintion of B-Spline basis function as shown below: Let $\vec{U}=\{u_0,u_1,\ldots,u_m\}$ a nondecreasing sequence of real ...