New answers tagged plotting
3
votes
2
votes
1
vote
Plotting curves of different orders of magnitudes on the same graph
We could also use MultiaxisArrangement, which came with V 13.0.
It needs, however, a list as input.
...
6
votes
Accepted
2
votes
Plot and mention extremum with corresponding points of extrema
Here are plots:
ComplexPlot[Log[Abs[h[v]]], {v, 0 + 0*I, 10 - 10*I}]
...
2
votes
Plot and mention extremum with corresponding points of extrema
Assuming we have to plot Log[Abs[h[v]]] (Thanks @user64494 's comment)
Try DensityPlotand ...
3
votes
5
votes
Accepted
How to plot the elements of a matrix in {x,y,z} coordinates?
Pasting my DATAC60 to make sure I copy pasted it right:
...
7
votes
Accepted
Graph for derivative function
$Version
(* "13.3.1 for Mac OS X ARM (64-bit) (July 24, 2023)" *)
Clear["Global`*"]
Abs is a complex ...
5
votes
0
votes
Plot[Im[f[x]],...] incorrectly gives graph of identical zero function
add a record for v12.1
...
1
vote
Is it possible to draw really thin lines in Mathematica?
The OP has probably meant:
xy = RandomReal[1, {10000, 2}];
ListLinePlot[xy, PlotStyle -> [email protected]]
or
...
3
votes
Accepted
Method of lines - Dirichlet and mixed BC
We can solve this problem using FDM and NDSolve as well to compare solutions. First code with FDM implementation
...
1
vote
5
votes
How fit my data to sinus?
Assuming your data dane2 is known:
With Method->"NMinimize" NonlinearModelFit works fine
...
9
votes
How can we reproduce Eugen Jahnke's drawing of a complex function?
Try to simulate the effects of lighting.
The light from lighting = {3, .2, 2}; seems work fine.
...
14
votes
Accepted
2
votes
ParametricPlot not plotting domain end points
Adding WorkingPrecision -> 10 solves the problem. Also values for n in manipulate should be exact values.
...
2
votes
How to show many normal distribution curves in one plot
Since V 12.3 we have ListLinePlot3D:
...
2
votes
Taylor approximation of integrals
I found one scheme that converges, but with not very high accuracy. Note that increasing the number of terms of the series and the number of iterations does not reduce the error. It is possible that ...
0
votes
Contour plot of the imaginary portion of a function given the real part is positive
Since V 12.1 there are ComplexContourPlot as well as ComplexRegionPlot
...
0
votes
Accepted
How to plot points on a grid given by two vectors?
Thanks to all comments, The right code should be:
ListPlot[Transpose[{x,y}]]
2
votes
Taylor approximation of integrals
There are some typos in your equations if what you want to reproduce is table 2 and figure 1. In particular the alpha parameter is 20, not 0.2, the ...
1
vote
Is there a simple way to plot complex numbers satisfying a given criteria?
Since V 12.1 we have ComplexContourPlot and ComplexRegionPlot
...
2
votes
Plotting |z-2| < 1 under w = z/(z-1)
With z= x+ y I and w:
w[x_, y_] = (x + y I)/(x + y I - 1);
we can vary x from 1 to 3. And y from -Sqrt[1 - (x - 2)^2] to Sqrt[1 - (x - 2)^2], we can plot the image ...
6
votes
Accepted
Plotting |z-2| < 1 under w = z/(z-1)
We mapping the region ImplicitRegion[Abs[z - 2] < 1, {x, y}] to another region by the z( identity mapping) and ...
4
votes
Plotting |z-2| < 1 under w = z/(z-1)
First plot:
ComplexRegionPlot[Abs[z - 2] <= 1, {z, 0 - 2 I, 4 + 2 I}]
After transformation:
...
12
votes
Accepted
How can we plot Man Ray's "Shakespearean Equation" w == e^(1/z)?
Need to use Plot3D.
Need to cut some sigular parts near z==0.
...
6
votes
Nearest-neighbor density estimation in Mathematica
Here I'm first showing the (standard) nearest neighbor approach along with the generalized nearest neighbor approach (which is related to the nearest neighbor approach but uses kernels). The ...
6
votes
6
votes
Contourplot with three variables
$Version
(* "13.3.1 for Mac OS X ARM (64-bit) (July 24, 2023)" *)
Clear["Global`*"]
Either, plot a family of curves,
...
1
vote
Automatic FrameTicks with MaTeX style
You could use
Plot[Sin[x], {x, -2, 2}, Frame -> True, ImagePadding -> 20]
Replace with
...
0
votes
2
votes
4
votes
Accepted
Normalized Coincident Detection Probability of Laguerre - Gaussian Modes
Carefully compare the variables in the formula you provided with the variables corresponding to the variables in the code, and the result is what you want.
...
1
vote
Accepted
5
votes
Accepted
Rotating text in the Epilog of a plot results in distortion
Use Rotate inside Text (or Inset), rather than the other way round:
...
2
votes
4
votes
Accepted
MaTeX text looks shabby when latex generated pdf is not zoomed
A solution without a satisfactory explanation
Open your PDF in Adobe Acrobat Reader and print it from there.
I've had the same issue a while ago, when some of the images, created with python (...
7
votes
Accepted
Sum of its parts - replicating a porcelain sculpture of Nuala O’Donovan
We select random points in the cube and select random directions to draw infinitelines and cut their by the PlotRange.
We use ...
0
votes
2
votes
Accepted
Plotting an integral with solving for a specific constant
As an example, we take a simple function that we can integrate analytically:
f[t_] = t + 2;
Integrate analytically:
...
8
votes
Accepted
Why is the graph size decreasing in 'Column'?
ImageSizeMultipliers
Wrap Column[...] with Style[#, ImageSizeMultipliers -> {1, 1}] &:
...
5
votes
How can I create a rectangular graphic with curved edges?
Since V 10.2 there is StadiumShape and since V 12.2 we have LinearGradientFilling
...
0
votes
Hofstadter Butterfly for Graphene
The most intuitive way to construct the Hofstadter butterfly for graphene is to write down two simultaneous Schrödinger equations for the basis sites, e.g.
$$E \Psi_{m,n}^A = -t e^{\mathrm{i}\theta_1}\...
3
votes
Accepted
2
votes
Choosing desired text on the axis
Plot[x, {x, 0, 5},
Frame -> True,
FrameTicks ->
{{Automatic, None}, {{1, {1.5, "a"}, 2, 3, 4, 5}, None}}]
With some styling options:
...
0
votes
Continuum model Hamiltonian for TMDS
The ky is wrong, it should be like KYY1 = N@Subdivide[-g1[[1]]/Sqrt [3]/2, 0, Num - 1] to create the correct one.
Top 50 recent answers are included
Related Tags
plotting × 15613graphics × 1885
differential-equations × 961
graphics3d × 878
list-manipulation × 826
color × 708
legending × 681
manipulate × 603
equation-solving × 586
labeling × 447
functions × 435
calculus-and-analysis × 430
regions × 396
numerical-integration × 318
bugs × 308
parametric-functions × 307
complex × 299
visualization × 292
ticks × 288
export × 264
animation × 225
logarithmic-scale × 216
data × 203
interpolation × 185
probability-or-statistics × 183