Skip to main content

All Questions

Tagged with
3 votes
1 answer
71 views

Peak Appearances in Plot Outputs from Optimization Routines

Dear fellow researchers and Mathematica enthusiasts, I've been working on a computational physics problem and encountered an interesting issue regarding the appearance of peaks in my plots, which I ...
Everlin Martins's user avatar
0 votes
0 answers
71 views

How do you create a program to calculate the spectrum of a pulse of arbitrary shape?

Develop a program designed to compute the spectrum of a pulse with an arbitrary shape. My current program might not suitable for solving this problem. ...
Iра Сотник's user avatar
13 votes
1 answer
334 views

Lens on a map. Realistic imitation of magnifying glass on images with text and other small features

UPDATE: Code from this post was used for video generation here: Cinematically moving a lens over images: magnifying glass effect in videos I am trying to create a magnifying glass effect for images ...
Vitaliy Kaurov's user avatar
3 votes
1 answer
102 views

How to style a graph of isotope decay data automatically so that vertices and edges correspond to half-lives and decay probabilities?

For teaching purposes I am trying to create some plots of radioactive decay chains, whereby each node on the graph represents the isotope with a color corresponding to the isotopes stability and with ...
Dunlop's user avatar
  • 4,083
1 vote
1 answer
307 views

Set of three self-consistent coupled 'gap' equations

For a function of the kind of 5 variables, where this function must satisfy the following self-consistent coupled 'gap' equations. I want to reproduce the graphics in the paper "Phases of QCD: ...
Everlin Martins's user avatar
4 votes
1 answer
194 views

Plotting a field inside of a shape

I want to plot a field of vectors revolving on the inside of a torus in the positive x-direction. I don't know how to constrain the field on Mathematica. What would be the most efficient way to do ...
Anandan Lakshminarayanan's user avatar
1 vote
1 answer
673 views

plot graph of function with different constants

I need to plot the graph of : $v(t) = \frac{-mg}{b} (e^{-\frac{b}{m}t}+1)$ , where $ g = 9.8 m/s^2$ and $b$ and $m$ are positive constants. Is there a way to plot this without having to define random ...
Physmath's user avatar
  • 113
2 votes
2 answers
410 views

Recreate specific plot in Mathematica

Can anyone help on this ? I did this ...
user77551's user avatar
2 votes
1 answer
80 views

Shaky Point[] objects in simple animation

I'm making a simple animation of wave motion. Each point is supposed to be moving exactly along a circle, and for some reason the purple & orange points seem to shake as they rotate about their ...
InertialObserver's user avatar
0 votes
1 answer
153 views

Adopt Mathematica codes for circumscribed and inscribed ellipsoids to related sets

Users Daniel Huber and Dominic have provided an interesting answer each to the question JohnEllipsoids of constructing circumscribing and inscribing ellipsoids for a certain three-dimensional convex ...
Paul B. Slater's user avatar
2 votes
6 answers
462 views

Graph/Construct (John) ellipsoids circumscribing and inscribing a certain 3D convex set

A famous theorem JohnEllipsoids of Fritz John informs us that associated with a convex body are circumscribed and inscribed ellipsoids of minimal and maximal volumes. Now, a body--argued to be convex ...
Paul B. Slater's user avatar
2 votes
2 answers
220 views

How to draw tilted axes for spacetime diagrams

I want to use Mathematica to draw spacetime diagrams. In particular, on one of these diagram, I'd like to draw two pairs of axes. The first pair $(t,\,x)$ for the rest frame and the second pair $(t',\...
Fritz Dewit's user avatar
0 votes
1 answer
93 views

It is possible to generate a diffraction plot from the equation

I have this equation $$ D = 1.22 \frac{\lambda f}{R_{0} \sqrt{1+2 \alpha\Delta T}} $$ in which D is the diameter of the circular opening, and the parameters I want to vary to analyze the diffraction ...
rannasquaer's user avatar
0 votes
1 answer
154 views

Find x-intercept when maximum slope of tangent intersects a point

If I have the following data: https://pastebin.com/ZY4zFJYK and the following code: ...
John's user avatar
  • 1,651
1 vote
1 answer
192 views

Tangent line, slope and intercept at y=0 from data points

If I have the following data: https://pastebin.com/ti6pwnPP Which plotted with ListLinePlot[data] looks like: Questions: 1) ...
John's user avatar
  • 1,651

15 30 50 per page