Questions tagged [version-7]

Version-specific issues for Mathematica 7 (other than bugs).

Filter by
Sorted by
Tagged with
2 votes
0 answers
64 views

How to define smooth random initial conditions consistent with boundary conditions for this 1+2D PDE?

I wrote a fully working code to numerically solve a non-linear variation of the classic 1+2D waves equation. Here's a stripped down version of it (classic waves equation), with static initial ...
user avatar
  • 3,533
1 vote
2 answers
82 views

How to simplify this sum of random waves?

Is there a way to simplify the random functions and their calls, in the code below? ...
user avatar
  • 3,533
2 votes
1 answer
141 views

How to make this moving surface a continuous and derivable function?

I'm having troubles in defining a function of three variables: $t$, $x$, $y$, from a moving bumpy surface that should be derivable relative to its three variables. Here's the animated surface code, ...
user avatar
  • 3,533
1 vote
1 answer
105 views

Randomly oscillating surface is not working well

I'm trying to built some random moving surface from a plane perturbed with random oscillators, and my current code isn't doing what I need yet, as seen from the ...
user avatar
  • 3,533
2 votes
1 answer
68 views

How to insert variable height in this random bumps function?

I'm trying to insert a "time" variable that control the height of the random smooth bumps, but I'm yet unable to do it right, as shown with the code below: ...
user avatar
  • 3,533
3 votes
1 answer
110 views

How to define a smooth function of random bumps in a plane?

I would like to define a simple function that gives random smooth bumps in a plane, a bit like the clumsy picture below, but it should be continuous: ...
user avatar
  • 3,533
1 vote
1 answer
219 views

Boundary conditions at infinity for 1+2D wave equation in Mathematica 7

To solve a waves equation, I need to define some boundary conditions. The wave is propagating on an infinite plane, and it's not a membrane fixed on some fixed support. I'm have difficulties in ...
user avatar
  • 3,533
4 votes
3 answers
285 views

How can I add a few specific mesh (altitude-like level) curves to a plot?

I'm plotting the numerical solution of a differential equations, using the altitude-like level curves as a mesh. It's fine, but I would like to add three specific altitude levels as thick red, green ...
user avatar
  • 3,533
1 vote
0 answers
69 views

How to numerically solve this partial differential equation and plot the output? [duplicate]

Using Mathematica, I would like to numerically solve the following partial derivatives equation : $$\tag{1} \frac{\partial^2 \Phi}{\partial T^2} - \frac{\partial^2 \Phi}{\partial X^2}- \frac{\...
user avatar
  • 3,533
4 votes
3 answers
210 views

How to draw borders around tiles of the same color?

I'm having difficulties with a project to show random tiles with a few random colors. Here's the code that I need to modify: ...
user avatar
  • 3,533
4 votes
3 answers
419 views

How to draw random colorfull domains in a plane?

I'm trying to produce some graphics like the one shown below, with a few adjustable parameters to change the number and size of cells. The cells positions, sizes and colors should all be random (size ...
user avatar
  • 3,533
1 vote
1 answer
94 views

How to add noise to these random straight lines in 3D?

Here's a code that draws a pack of random straight lines in 3D: ...
user avatar
  • 3,533
6 votes
2 answers
253 views

How to generate randomly curved and twisted strings in 3D?

Here's a code that draws a set of random straight lines in 3D: ...
user avatar
  • 3,533
1 vote
0 answers
177 views

How to solve ode with convolution?

my question is as this and i want to get the solution of this ode x(t) $ ({M_{33}}{\rm{ + }}{{\rm{m}}_{33}})x''(t) + \int\limits_{ - \infty }^t {x'(tau){K_{33}}(t -...
user avatar
  • 575
0 votes
1 answer
154 views

How to get the analytical solution or numerical solution of the double integral

i just want to calculate this double integral but can't get the analytical solution,so it there a way to get the analytical solution or numerical solution of the double integral? codes are as this <...
user avatar
  • 575
0 votes
1 answer
147 views

mathematica stop working after running some .nb file and close or save the file

Bug fixed in 8.0.4 for Chinese edition only, generally fixed in or before 11.3. I'm using version 7 on Windows. After I running one .nb file and just want to ...
user avatar
  • 575
1 vote
1 answer
648 views

Repeated convergence test failure and why?

i have assigned all the values and the ODE assigned is as this ...
user avatar
  • 575
0 votes
0 answers
88 views

How can I introduce vertex labels into a graph

How can I introduce vertex labels into a graph in Mathematica 7 with Combinatorica? I create graphs with Graph or GraphPlot, ...
user avatar
  • 161
7 votes
2 answers
1k views

Graphene bilayer rotation

How can we design the rotational picture of bilayer graphene using Mathematica 7.0 like in the figure? This gives Moire pattern
user avatar
1 vote
0 answers
26 views

Is it possible to create CDF document with Mathematica 7?

As far as I can understand from the exemplary videos here and here the minimal version of Mathematica that has the inbuilt possibility for creating CDF documents is Mathematica 8. But is there some a ...
user avatar
  • 349
11 votes
4 answers
316 views

How to plot $x^2$ over $-5<x<-1\cup1<x<5$

Is it possible to plot a function over a interval with a gap in the middle; e.g., $f(x)=x^2$ over $-5<x<-1\cup1<x<5$? I am using Mathematica 7 and most of the options in the answers don't ...
user avatar
  • 379
4 votes
1 answer
127 views

Small output glitch with Histogram

I'm experiencing a small formating glitch with an histogram. I want to define an histogram with a square frame, with precise vertical ticks from 0 to 10. But I'm still getting a larger range, and I ...
user avatar
  • 3,533
1 vote
1 answer
280 views

Problem with convergence of limiting value in Manipulate

I created a nice Manipulate box of the magnetic field outside and inside a spherical shell placed in an homogeneous magnetic field. The code is working great, but it has a problem at a limiting value,...
user avatar
  • 3,533
2 votes
0 answers
146 views

Is it possible to make a standalone OS X app from manipulate?

I'm wondering if it's possible to make a standalone app from a manipulate box. I mean a small app that do exactly what the manipulate box is doing in Mathematica, but without Mathematica. In other ...
user avatar
  • 3,533
1 vote
1 answer
202 views

Checkbox in manipulate not properly working

This question is related to another question of mine : How can I add a checkbox to a Manipulate expression?, but I'm still unable to make the checkbox to work properly. Here's a MWE code, from my ...
user avatar
  • 3,533
3 votes
1 answer
545 views

How to align text to left and output to right, in manipulate?

I need to show a layer of information on a 3D graphics, inside a manipulate box. Currently, all the code is working great, except that the text should be aligned to the left, while the output numbers ...
user avatar
  • 3,533
1 vote
2 answers
1k views

How to add text with output on a 3D manipulate

I need to add a string of text with some output data at the bottom-center of a manipulate output. The manipulate output itself is 3D. Here's a MWE to work with : ...
user avatar
  • 3,533
2 votes
2 answers
176 views

How to mix symbols and text for labels in manipulate? [closed]

I'm creating a big manipulate box with several sliders, and each slider must have a small explication text (units, for example) after a mathematical symbol. As a simple example, here's the code I'm ...
user avatar
  • 3,533
0 votes
0 answers
322 views

Slow and laggy animation of an electromagnetic wave

I made a manipulate code of an electromagnetic plane wave which works relatively well, but is very slow and laggy for what it does (showing just a bunch of rotating or oscillating arrows). What is ...
user avatar
  • 3,533
1 vote
1 answer
166 views

Multiple stopping constraints in NDSolve

I need to numerically solve several differential equations, with several constraints, like this : ...
user avatar
  • 3,533
0 votes
0 answers
148 views

How to define an exclusion zone for NDSolve

I need to numerically integrate a differential equation and define two exclusion zones to stop the integration. The Mathematica code looks like this : ...
user avatar
  • 3,533
1 vote
2 answers
143 views

Manipulate slider freeze, and empty value in box

Here's a MWE code to show two problems I'm experiencing with the sliders and their value box, under Manipulate : ...
user avatar
  • 3,533
0 votes
1 answer
230 views

NumberForm pesky warning from Manipulate

I'm using the NumberForm command inside a Manipulate environment, and in some special cases Mathematica gives a pesky and mostly useless warning message : NumberForm::sigz: In addition to the ...
user avatar
  • 3,533
1 vote
1 answer
259 views

Out of range red glow on inter-dependant sliders in manipulate

In manipulate, I need to define two sliders : one basic slider, and a second one for which the end value depends on the current value selected on the first slider. How can I achieve this in ...
user avatar
  • 3,533
2 votes
2 answers
2k views

How can I add a checkbox to a Manipulate expression?

I'm looking for a simple example about how to add a simple On-Off switch in a manipulate function. More specifically, I defined a curve with two parameters. One is a continuous parameter that is ...
user avatar
  • 3,533
1 vote
1 answer
146 views

How to colorize curves intersection in a manipulate function

I need to show the intersection area of two curves, using the manipulate function in Mathematica. Here's a fully working example, and a preview below it : ...
user avatar
  • 3,533
11 votes
1 answer
1k views

How to add a fading trail effect in Animate?

I would like to add a smooth fading effect to the end of a curve, while it is animated. Here's a minimal working example which shows a particle moving on a circle (the circle is drawn while the ...
user avatar
  • 3,533
2 votes
1 answer
251 views

Random phases at each run in a wave superposition [closed]

I need to define a function which generates a random real number between 0 and $2\pi$, as a random phase constant for a wave superposition. The output should be different each time I re-run the code, ...
user avatar
  • 3,533
2 votes
3 answers
2k views

Random non-overlapping disks in a square

I've found a nice code snippet by @belisarius from this question, that I'll reproduce here for reference: ...
user avatar
  • 3,533
2 votes
1 answer
372 views

Alt+Gr issue with Mathematica 7 on linux

I have the same issue as described in https://matteochinazzi.wordpress.com/2010/04/12/mathematica-alt-gr-issue-under-linux/ So basically whenever I use AltGr to write [ or ] in Mathematica, it ...
user avatar
0 votes
0 answers
285 views

Distance between ticks and axes [duplicate]

I've created a plot using the following code: ...
user avatar
  • 777
2 votes
1 answer
1k 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: ...
user avatar
  • 777
4 votes
1 answer
569 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 use ...
user avatar
  • 777
1 vote
1 answer
618 views

Use Compile to speed up evaluation

I have read, that using Compile command can speed up evaluations in mathematica. I have a mathematical expression, which I evaluate using following command: ...
user avatar
  • 777
1 vote
2 answers
726 views

How to fix the order in which text appears in an axis label (V7) [duplicate]

One of the AxesLabel is "$:\text{log}|\Phi8b(u)|\color{Red}{\text{Red}}$". Question: How to make it like: "$\color{Red}{\text{Red}}:\text{log}|\Phi8b(u)|$"?. My Mathematica commads: ...
user avatar
  • 281
2 votes
1 answer
90 views

Error with comments inside and expression

I found this strange parsing error with comments inside of an expression in Version 7. And example is {{1, x}, {1, y} (* {1, z (= 5+6)} *)}; It occurs depending ...
user avatar
  • 1,455
2 votes
1 answer
446 views

Warning and Errors during Compile

I defined a compiled function cf = Compile[{{x, _Integer}, {n, _Integer}}, z = (n^x); Binomial[n, #]* StirlingS2[x, #] *(#!)/z & /@ Range[x]]; and I ...
user avatar
3 votes
3 answers
105 views

Reduction of repetitive calculations in Table

If I generate two tables inside a function which are function[n_, x_, y_]:=( table1 = Table[i* x/n^x, {i,1,n}]; table2 = Table[i* y/n^y, {i,1,n}]; ) where <...
user avatar
2 votes
0 answers
123 views

RDPStruct.exe: what is it and why are there so many?

I have an old (v7) webMathematica system running and it seems to generate a lot of RDPStruct.exe processes. First, what does this "Converter" do? GIF.exe and JPEG.exe are obvious, but "RDPStruct" ...
user avatar
  • 239
0 votes
0 answers
69 views

Number precision in a list [duplicate]

I have list with elements: ...
user avatar
  • 777