4
votes
1answer
224 views

Dynamic legends involving show

My question is how do I get dynamic legends (legends that turn data on/off) to work with Show? This is an extension of an old question here; How to dynamically toggle curves on/off in a crowded ...
2
votes
1answer
268 views

Visualizing a 2-dimensional PDF [duplicate]

I have empirical data that describes a 2-dimensional Probability Density Function and I want to visualize that data in a meaningful way using Mathematica. My first instinct is to use a 2D Heat map ...
6
votes
3answers
947 views

Converting Mathematica to $\LaTeX$

Is there a Mathematica-to-$\LaTeX$ converter, so that I can place Mathematica code, including things like A // MatrixForm, just as they are in the console straight ...
19
votes
3answers
777 views

Clipboard with transparency

After reading this question I have determined that Rasterize[Graphics[Circle[]], "Image", Background -> None] allows you to do ...
2
votes
2answers
141 views

How can I style a TabView?

I have been trying to style a TabView like in the examples on the Wolfram CDF site, where they have custom sizes and backgrounds with images or gradients, but I am ...
0
votes
1answer
117 views

Column specific data inputs

My data is in the form of 6 columns in a notepad file. I want to import, only from a specific column,say, the third column into Mathematica in the form of a list, i.e., i want commas to be placed ...
9
votes
1answer
337 views

Is it possible to find a limit of a sequence given by its recurrence relation?

I need to calculate a limit of a sequence given by its recurrence relation. I tried the following: ...
2
votes
0answers
196 views

why version 9 is much slower than version 8 in producing these graphics

Consider this example(taken from Thomas's question here) ...
4
votes
1answer
180 views

Is there a way to force Mathematica 8 to expand $z^{a+b}$ into $z^a z^b$?

The function PowerExpand[z^(a+b)] does not transform $z^{a+b}$ into $z^a z^b$. Is there a way to force Mathematica 8 to expand $z^{a+b}$ into $z^a z^b$? In this ...
0
votes
1answer
584 views

How to calculate the area of a listplot [duplicate]

I need to calculate the area enclosed in a two-dimensional listplot and following an answer to a similar question I tried this way: ...
2
votes
1answer
331 views

How do I sort complex numbers?

Okay, so I posted something about sorting, and it was linked as a duplicate to This post However, I am having problems trying to sort a list that contains both real and complex numbers. I put them ...
1
vote
3answers
132 views

How to convert a spaceless data into tab delimited

I have a data set in form of:(this is just an example) 1324501020 3241030205 4332020134 the data are stored in a text file (e.g. data.txt) but I need to convert ...
5
votes
1answer
228 views

How to import non-text data from std input in a Mathematica script?

Or maybe a better question is - how can I get a stdin stream? I need to run on Linux. I did look at Reading from STDIN, or: how to pipe data into Mathematica, but ...
0
votes
1answer
277 views

Interpolation of data on non-rectangular grid [duplicate]

I have a smooth data distribution on a 2D regular grid that is not a rectangular (it is a cross-section of a channel) and I need to find an Interpolating function ...
1
vote
0answers
134 views

Where can I find example of good webMathematica programming?

Just now I started to work on webMathematica. I surprised that I can't do whatever I do with mathematica. Can any one suggest me where I can get good practice on webMathematica.
1
vote
0answers
787 views

NDSolve: methods and step size choosing

I am looking into the documentation of NDSolve[]; more precisely how this function chooses the StepSize and how it chooses which ...
5
votes
1answer
213 views

Assign variables automatically to a function

Lets consider that I've this function: fn = a*x^2 + b*x + c; The idea here is to assign automatically the variables a, ...
0
votes
2answers
171 views

Solving numerically system with Mathematica

I'm trying to solve the following system with Mathematica: ...
1
vote
2answers
200 views

TabView: Reset some dynamic variable on tab selection

Given a TabView panel like this one TabView[{ DynamicModule[{x = False}, {Checkbox[Dynamic[x]], Dynamic[x]}], "foo"}] I ...
5
votes
1answer
160 views

Are webMathematica functions totally different compared with Mathematica?

Recently, I configured WebMathematica in my system. I tested with inbuilt examples, all are working fine. Basically, Helloworld ...
1
vote
1answer
114 views

Set theoretic operations on sets of real numbers

I have two pieces of code that produce a bunch of real numbers, say $A$ and $B$ respectively. (It is not relevant to the question, but $A$ consists of eigenvalues of the Hamiltonian of some physical ...
7
votes
3answers
260 views

Numbering nested list according with Depth (or Level)

(This question is slightly similar with Sequentially numbering a nested list, but not exactly the same.) What I want Say I have a nested list ...
0
votes
2answers
115 views

Assigning colors to Graphics3D objects from an ordered list

I'd like to draw a set of spheres with colors assigned from a defined set. To provide an example, say I wish to draw a set of three spheres of radius 2 at the positions: {{6, 5, 10}, {1, 4, 20}, {2, ...
6
votes
2answers
277 views

Why Interpolation makes ListPlot3D slow?

I'm trying to use ListPlot3D to plot some data, and I'm using the InterpolationOrder option to make the plot smoother. But the ...
6
votes
3answers
280 views

How to get the correct answer when solve this equation?

I want to find the values of the parameter $m$ to the graph of the funtion $$x^4 - 2 m x^2 + m + 1$$ has three extremal points make an equilateral triangle. I tried ...
0
votes
0answers
135 views

how to solve a linear system (Ax=b) using domain decomposition?

The Domain decomposition is a natural technique for reducing the computational cost for solving large-scale linear systems, somebody know how to do it using mathematica?
1
vote
1answer
85 views

How to make AutoAction take effect only one time?

WARNING: better don't try this when you have any relevant notebooks open, the generated palette will edit your currently selected notebook in ways which are not easily noticed or undone! ...
3
votes
3answers
107 views

Applying a function of several arguments to the rows of a matrix

I have a user-defined function which takes three vectors as input. Suppose that is like this: f[a_, b_, u_] := Total[a*Total[u]^b] Usually I have vectors for ...
1
vote
1answer
135 views

Double integral 0

I am trying to reproduce the results from a paper in Mathematica. This task involves $K$ double integrals of the form $$\int f(x,y)g(x)dx,$$ where $f(x,y)$ is a bivariate normal density with mean ...
0
votes
1answer
302 views

Using LatticeData to fill a space with spheres in a face-centered cubic (fcc) lattice packing arrangement

I have a large sphere of radius $R_1$ which I would like to pack with $N$ smaller radius of radius $r_2<R_1$ arranged in a face-centered cubic (fcc) packing arrangement (i.e. Kepler's optimal ...
3
votes
1answer
177 views

Finding the largest integer that cannot be partitioned in a certain way

I want to use Mathematica to solve the problem: Find the maximum $k$ such that $6x+9y+20z=k$ does not have a non-negative solution. I tried FrobeniusSolve. ...
0
votes
1answer
91 views

Solving one equation, then inputting the values into another for NonlinearModelFit

Considering the equation a*x^3 + a*x^2 + x + b == 0 I'm looking to find the best value for a and ...
0
votes
0answers
151 views

Behavior of copy and paste with different image formats

Ok, let's say I create a 1x1 pixel image. i = Image[{{0}}, "Byte"]; Now I Export["image.png", i] the image and import it into ...
0
votes
0answers
62 views

Import and file symbolic links

Can Import be forced to follow a file symbolic link (a.k.a. alias (Mac) or shortcut (Windows)) to the true file?
1
vote
1answer
514 views

Google API and URLFetch [duplicate]

I am trying to systematically obtain the distance between two given locations using the Google Maps API Distance Matrix facility: developers.google.com/maps/documentation/distancematrix/ From the ...
1
vote
2answers
162 views

Indicating the probability that a weather datum is above/below some given value on a geographic map

With help of the previous questions here, I am analyzing weather data as daily MeanWindSpeed of some cities with the following code: ...
1
vote
1answer
95 views

How to fix the number and length of vectors when using ListVectorPLot

I want to plot only the vectors that I specify in my list of vectors, and no more. ListVectorPlot plots many of them, namely plots the field extrapolating from my four vectors.I would also like to ...
1
vote
2answers
191 views

Collect pattern (Log's)

Is it possible to apply "Collect" command (to put Log's in particular combination) to factor out (pattern) a particular form from the full expression. For example, consider the following expression: ...
1
vote
1answer
105 views
7
votes
2answers
134 views

Change some option of a function when calling it [duplicate]

Say I have defined some function like f[p_] := Plot[Sin[p*x], {x, 0, 2 Pi}] Now in most cases, I just need to specify the value of ...
4
votes
3answers
488 views

Is there a way to plot the derivative of an implicit function in mathematica?

After having read the manuals and searched extensively, I could not find a way to do the following. Suppose you have an implicit equation of the form $y^4 + y^5 = x$, and $y$ is a function of $x$. ...
4
votes
2answers
182 views

Using Element[]

Can the Element[] function only be used for the domains given in the documentation? I am trying to use it to determine if a value is contained in a previously defined list. Thanks!
3
votes
1answer
141 views

How to change the format of all inline cells

DefaultNewInlineCellStyle only take effect for newly generated inline cells. for example ...
2
votes
2answers
226 views

Create list via checkboxes

I am trying to achieve the following: Three (dynamically updated) Checkboxes (a, b and c) can be toggled on or off individually. Depending on their status, a ...
3
votes
1answer
152 views

Different Chapters in Different Files

I was wondering if there is a command to change the counter to adjust its numbeing to having different chapters saved as separate files. This seems possible with page numbers but not section numbers.
0
votes
0answers
46 views

Difference between matrix rapresentation [duplicate]

I've noticed different behaviour in Mathematica between matrix representation: The matrix a={{1,2},{3,4}} is different from b=a // MatrixForm Why i obtain ...
4
votes
1answer
181 views

Where will I put packages?

Recently,I got WebMathematica. Initially I searched WebMathematica documentation in Mathematica documentation, but it doesn't return any results. For this I read tutorials; finally I placed the ...
3
votes
0answers
358 views

How to split compound polygons into convex polygons?

Is it possible to split non-convex polygons into convex plygons with Mathematica 9? For example: ...
4
votes
1answer
134 views

warnings shows up in message window

I have no idea why, but suddenly all my evaluation with warnings like "sum does not converge" has begun to show up in a message box. Since always they appeared between In[] and Out[]? How do I make ...
3
votes
1answer
446 views

How can I calculate the correlation dimension and/or the Lyapunov exponent of a time series using Mathematica

I have a pretty long time series (4000 data points). How can I calculate the Correlation dimension and/or Lyapunov exponent for such data? Please also advise on how to import the data as well.

15 30 50 per page