# All Questions

484 views

### Exporting plots with Cyrillic text elements to pdf

I'm trying to export a plot with some added notes which happen to be in Russian. Using Mathematica 8.04 and WinXP I evaluate ...
2k views

### Implementing a first person view of 3D objects in a scene

I've created the following scene with a Chinese-style building surrounded by trees, and a horse and a rabbit grazing on the grass in Mathematica (don't ask me why there's a bust of Beethoven in ...
583 views

### Generating an autoregressive time series

Find $X_t = c_1 X_{t-1} + \dots + c_n X_{t-n} + n_t$ for given $c_i$, initial conditions $(X_1, \dots, X_n)$, and distribution for i.i.d. $n_t$. I would like to know if there is a more efficient or ...
563 views

### Partition string into chunks

This seems like it should be trivial, but how do I partition a string into length n substrings? I can of course write something like ...
216 views

### Pasting “rectangles” of text side-by-side

In Emacs/Xemacs, there is a rectangle feature, such that you can delete, copy, etc., "rectangles" of text. Now suppose I have two text files, each containing one column of numbers. Is it possible to ...
219 views

### Converting expressions to InputForm strings without spaces after commas

One of the little utility packages I use needs to convert Mathematica expressions to InputForm text that is interpolated into a custom file format which is then ...
732 views

### Plot is not showing [closed]

I've used Wolfram Mathematica 8 Trial version for two days. Any pointers are appreciated. Thanks in advance! EDIT: There are supposed to be 4 plots, but only 3 are showing. Everything works except ...
696 views

### How to Solve this ODE with Mixed Boundary condition

I have an ODE equation which is sort of y''[x] + 2 y'[x]/x + .0001 (y[x])^3 ==0 subject to the boundary conditions ...
360 views

### Limit not evaluating

Why is the input Limit[IntegerPart[Sin[x]/x], x -> 0] not being evaluated?
1k views

### Is it possible to compute trapezoidal rule numerical integration?

Is it possible to compute trapezoidal rule numerical integration? I know that Mathematica has Interpolation, and that a list of points can be interpolated and then ...
268 views

### Stopping Evaluation of Manipulate after it goes through once

I do quite a bit of textual analysis with Mathematica, and am currently making some Manipulate objects to walk people through key terms in the database. One issue ...
397 views

### What is the meaning of the last argument passed to the ColorFunction of a ParametricPlot3D?

According to the docs, the meaning of the arguments passed to ParametricPlot3D is $x, y, z, u, v$. This is 5 arguments: the Cartesian coordinates and the two ...
129 views

### How to create a floating image with no window background [duplicate]

Possible Duplicate: What is the most effective way to setup a Notebook with transparent background but solid contents? When MMA 8 starts, a floating image of spikey is shown. As you can see ...
231 views

### Removing edge weights from a Graph

How can I remove EdgeWeights from a Graph without affecting any other properties of the graph? Let's construct a graph with ...
448 views

### Scoping inside of Module and Manipulate

This is driving me nuts: I'm trying to control the parameters for a relatively large system of ODEs using Manipulate. ...
1k views

### how to simplify symbolic integration

The following is the code: ...
706 views

### Finding roots of nontrivial equation

I am trying to solve the following nontrivial equation: ...
412 views

### MathLink and CDF

So far I have read that some things are not supported in CDFs. Istvan-zachar mentioned very useful things in his post. Unfortunately he mentioned that MathLink operations, including J/Link and ...
548 views

### Start Mathematica without the menu bar?

Is there any way to start Mathematica without the main menu bar? To be precise: Sometimes I make standalone mini-applications that I would like to just have in their own little windows without the ...
195 views

### Assumptions seem not to be considered

In the following a,b is a probability distribution, i.e. a+b==1 with ...
619 views

### Random Geometric Graphs

I'm trying to implement an application which uses random geometric graphs in Mathematica, but it seems Mathematica lacks the functionality. I need the following functionalities: Generate a set of ...
645 views

### Exporting images as .avi

Here's a list of images: images = Table[ExampleData[i], {i, ExampleData["TestImage"]}]; And according to the reference "Export exports a list of graphics, ...
1k views

### Using Mathlink with the cernlib FORTRAN package MINUIT

I could successfully use Mathlink to call a simple fortran subroutine. However, when I went to a realistic problem, I failed. To be specific, I want to fit a set of data with some function using the ...
285 views

### Keeping Quotation Marks in Output

I am running into the following seemingly simple problem. I have this code: testphrase="i love you"; input=ToLowerCase[StringSplit[testphrase, Whitespace]] It ...
160 views

### Frame or EdgeForm disappearing out of PlotRange

I am trying to obtain a thin frame around the bars in this chart but it's proving rather tricky. Can anyone suggest a solution? ...
382 views

### Dr. StrangeNumbers or: How I Learned to Stop Worrying and Love Floating Point Arithmetic

The following is the program. ...
2k views

### Performing a chi-square goodness of fit test

How would I perform a chi-square goodness of fit test? I have tried the following, where my data consists of the observed values whilst the data pair contains the correct values. Then I use the ...
357 views

### Question about making TabView remember what tab to open

Background: Consider the following ( for the purpose of illustrating this question ) simplified, but working snippet of code. ...
7k views

### How to find all the local minima/maxima in a range

I want to find : all local maxima in range all local minima in range From those points I can interpolate and combine functions upper and lower boundary. What I am really interested in, is the ...
531 views

### Some questions about random numbers

How can I get non-repeating random numbers from Mathematica 8? How can I know which distribution the numbers I get are? Can I choose the distribution I want together with the non-repeating random ...
498 views

### Cropping a plot via a command

I have a plot with some whitespace I'd like to get rid of. Ideally, I'd like to use a command like "ImageCrop", but for non-raster graphics (ImageCrop rasterizes the graphic). The Mathematica ...
923 views

### How to load a package without naming conflicts?

This question applies to any package, but I encountered this problem while working with graphs. There are symbols in the Combinatorica package (such as ...
91 views

### TextAlignment->Center in a notebook with WindowSize->All

I'm creating a dialog with CreateDialog. I want one of its cells to have its text centered. By default (and I like that default), the notebook created has ...
115 views

### MUnit test debug breakpoints in Workbench not working

When I create a breakpoint in Workbench 2 for an MUnit test, and run a debug build, the breakpoints are not breaking execution. The MUnit output is updated like a normal run without breakpoints. Why ...
388 views

### Starting NDSolve from intermediate time step?

I always wondered if I could start NDSolve from an intermediate time step. What I mean is, in the code sample below, if I were to run my solution from tmin=0 to ...
235 views

### Encoding format used by GraphicsData?

I am trying to extract some graphics stored in PICT format from a Mathematica notebook, using a platform that doesn't support PICT. If I look at the .nb file in a ...
132 views

### Manipulate and ExclusionsStyle

How can I change ExclusionsStyle for a plot inside Manipulate? Here's a sample that (though it shouldn't) seems to produce ...
199 views

### Issue with Grid command

Dear all, I've been trying to set prepare a grid with different charts for comparisons. The issue I have is that the first row of the grid has the legend distorted. The issue does not occur for ...
2k views

### Changing the speed of exported AVI videos

I am exporting an animation created using Manipulate in the .avi format. However the video runs very fast (I am putting it in ...
277 views

### Check does not interrupt evaluation of the expression when a Message is emitted

On the surface, Check looks like a good method to use when you need to abort the evaluation of an expression whenever a Message ...
315 views

### Question about evaluation control

I want to make a function that takes a function as a parameter and prints an integral with the function inside. I've tried this: ...
113 views

### Solving an equation and finding a couple of results given that they are integer

My problem is to find all solutions to an equation with 2 variables between two values that define the range of my search. e.g., $(x+y-y²)/(1-y-x²)=0$ with solutions ${x,y} \in \mathbb{Z}$.
409 views

### Mathematica Source-Code Control for CDF files in multi-user scenario

Q: I'm putting together a strategy on how its best to maintain cdf documents with multiple users in a source code repository. Ideally I wish for users to create (unit tested) cdf's with data and ...
340 views

### How to save data to a variable by clicking a button, using Widget Panel

In Mathematica I am trying to implement algorithm, for which I would like to have user friendly interface, I have managed to create Panel using Widgets, but when I am trying to provide the value of ...
1k views

### Populating and storing a very large array in Mathematica

I am using Mathematica 8 to generate a very large multidimensional array of floating-point numbers and then store it in a file. Typical array sizes are 10000 x 50 x 15 x 40, resulting in a 3-4 GB ...
371 views

### How to use Locators on a graphic in a tabview

Background: I want to split graphics in a Manipulate in several parts in a tabview control. But the tabview somehow interferes with the locators as in the following simplified example: ...
216 views

### Is it possible to use styled (e.g., colored) text in PlotLabel?

Sometimes, I want to provide a key or legend for my Plot or ListPlot without using the ...
773 views

### Constructing a symbolic Hermitian matrix

I need to construct a symbolic Hermitian matrix like m = { { n, a, b, b}, {Conjugate[a], n, b, b}, ... } but I am not able to set ...