Questions tagged [plotting]
Questions on creating visualizations from functions or data using high-level constructors such as Plot, ListPlot, Histogram, etc.
15,613
questions
3
votes
1
answer
79
views
How to make the z-color of a contour plot mapped on the line?
Ideal picture effect:
$$
z=\frac{\frac{u}{1-u}K_{1/3}\left( \frac{u}{3\left( 1-u \right)} \right) +S\cdot \text{Int}\left( u \right) -S\frac{u^2-2u+2}{1-u}K_{2/3}\left( \frac{u}{3\left( 1-u \right)} \...
2
votes
2
answers
112
views
0
votes
0
answers
38
views
In Plot, different x range shows different result. Is it a bug? [duplicate]
After ODE, plot within {t,0,50} and plot within {t,0,60} have quite different results at some time instants.
...
2
votes
1
answer
53
views
Problem finding a function and plotting it
I have the following equation Ls j[t]/Is (1 + (RealAbs[j[t]/Is])^S)^(-1/(S + B)) = 7 Sin[2 \[Pi] 50 t]
How can I find the variable j[t] and graph it?
Tell me what ...
0
votes
0
answers
47
views
How to ContourPlot within Block? [closed]
I am trying to create a function (using Block function) which produces a ContourPlot and subsequently extracts the points in the ...
3
votes
0
answers
60
views
How to fix the size of vectors on surfaces so they are in correct proportion?
I'm having a hard time understanding how vector sizes work with the SliceVectorPlot3D[] function. In my code below, I used a basic inverse square vector field, expecting vectors of the same length on ...
4
votes
1
answer
150
views
How to plot the elements of a matrix in {x,y,z} coordinates?
I have the {x,y,z} positions of a fullerene and after connecting the first neighbors with ~1.37 and 1.45 distances in the matrix B as the following
...
2
votes
1
answer
124
views
Graph for derivative function
Please help. I can't display a graph for the derivative of a function.
...
1
vote
1
answer
32
views
How to add two data tables of unequal length to plot a curve which should be sum of table1 plus table 2?
I am facing a problem but Suppose just for an example below, i am mentioning the dummy code of the problem;
...
5
votes
2
answers
270
views
How fit my data to sinus?
I have problem with fit sinus to my date, because this sin is very tiny.
This is my code:
...
21
votes
2
answers
2k
views
How can we reproduce Eugen Jahnke's drawing of a complex function?
Eugen Jahnke (1863 - 1921) studied mathematics and physics at the Humboldt University of Berlin. He became a professor at the Berlin Mining Academy in 1905.
His "Tables of Functions with ...
0
votes
1
answer
36
views
ParametricPlot not plotting domain end points
Consider the parametric plot
...
2
votes
1
answer
104
views
Method of lines - Dirichlet and mixed BC
I have a dissolution problem to solve with two equations (everything is in dimensionless form - concentration, time and distance - EDIT: that came from the second Fick's law, where the distance was ...
0
votes
1
answer
71
views
How to plot points on a grid given by two vectors? [closed]
I am trying to do a very simple task that is automatic on Matlab for example, but it is not trivial for me in Mathematica:
Given two vectors for example:
...
1
vote
3
answers
111
views
Plotting |z-2| < 1 under w = z/(z-1)
How can I plot the image of |z-2| < 1 under the transformation w = z/(z-1)? The expected result should look something like ...
16
votes
1
answer
637
views
How can we plot Man Ray's "Shakespearean Equation" w == e^(1/z)?
1. Man Ray
Man Ray (1890 - 1976) was an American artist who spent most of his career in Paris. He was a significant contributor to the Dada and Surrealist movements. Man Ray produced major works in a ...
3
votes
2
answers
229
views
Contourplot with three variables
I have the following equation to generate a contour plot for it:
ContourPlot[{(6 x^2 (-0.00001 + (z)^2))/(6 y^2) == 0.2}, {x, -1, 1}, {y, 0.1, 20}]
It has three ...
3
votes
2
answers
137
views
Taylor approximation of integrals
I have BVP as in the picture and I want to solve it numerically by method given as follow. In the original paper, it is motioned that first iteration is computed and other are computed with Taylor ...
0
votes
2
answers
57
views
Automatic FrameTicks with MaTeX style
I'm currently working on generating several function plots and have been using the following code as a template:
...
1
vote
2
answers
104
views
Normalized Coincident Detection Probability of Laguerre - Gaussian Modes
I am working on a paper in which a pump mode is passing through SPDC(Spontaneous Parametric Down conversion) is converted into two photons called as signal and idler. In which laguerre-Gaussian mode ...
0
votes
1
answer
50
views
Adding an empty circle to this plot, plus changing styles
I cannot find a god solution to highlight the intersection point between these two curves, in the plot I made:
...
0
votes
0
answers
63
views
Determining special intersection points from 3D points defining a surface
I need to calculate a complicated integral. I asked a question:
Method to compute this integral, but my question has been closed.
First of all, I need to get the domain of integration.
I have a ...
2
votes
1
answer
74
views
Rotating text in the Epilog of a plot results in distortion
I want to rotate text in a plot. When I rotate by 90 degrees, or 180, it's perfectly OK. But if I want to rotate to 60 or 45 degrees, then the text appears distorted (see example below). How can I fix ...
2
votes
1
answer
89
views
MaTeX text looks shabby when latex generated pdf is not zoomed
I want to use Matex for the figures in my plots which I eventually would like to use in overleaf. I create a plot and use Matex in it and right click on it to save as pdf. I then use this pdf in ...
0
votes
1
answer
50
views
Plotting an integral with solving for a specific constant [closed]
Given an Integral I(t) which is a function of a constant tc, this constant is determined with the condition I(tc)=0, how can I add this condition?
5
votes
1
answer
147
views
Why is the graph size decreasing in 'Column'?
I printed out the graph in two ways.
Plot[Sin[x], {x, -3, 3}]
Column[{ "Plot[Sin[x],{x,-3,3}]", Plot[Sin[x], {x, -3, 3}] }]
Comparing the results of the ...
3
votes
2
answers
125
views
Choosing desired text on the axis
I've got this plot for instance.
Plot[x, {x, 0, 5}, Frame -> True]
how can I insert a text on the axis, for exapmple between 1 and 2 I want to write "a&...
7
votes
3
answers
329
views
Sum of its parts - replicating a porcelain sculpture of Nuala O’Donovan
1. Introduction
Nuala O’Donovan is an Irish Artist, living and working in Cork. According to her website her research areas are "Irregularities in Patterns in Nature" and "The Geometry ...
0
votes
0
answers
33
views
PlotLegends not respecting PlotRange in ArrayPlot and MatrixPlot
I have a matrix that I want to plot. This matrix has data with values ranging from 1400 to -50. If I do
...
2
votes
3
answers
107
views
Frenet frame plot for a point
I would like to plot the curve $c(t) = \langle - \sin t, \cos t, t \rangle$ and its Frenet frame at $t = \frac{\pi}{2}$. The following is my code. However, it returns an error saying that Pi/2 is not ...
5
votes
2
answers
256
views
Nearest-neighbor density estimation in Mathematica
I want to use SmoothHistogram-like plot using smoothing kernel $f(x)$ which is uniform $(a,b)$ with $a,b$ adjusted for each $x$ to include 11 points on the left, ...
4
votes
2
answers
194
views
Complex region plot
How do I plot the following two sets in the complex plane:
$C=\{z\in\mathbb{C}|z^4\in[0,16]\}$
and the set of solutions of equation
$Re(\frac{2z+1}{z+1})>0$
Thanks in advance.
0
votes
1
answer
60
views
Find FWHM from a plot of real part of complex equation
I am plotting the Real part of a complex equation which looks like this:
for now, using the FindMaximum function I can get the max y and max x of the plot, any ideas on how to get the FWHM of this ...
2
votes
1
answer
67
views
Getting formula & graph from locatable points
My goal is to, firstly, get formula-I think Findformula function might be used- from locatable points(for example from 10 locatable points as below),and secondly,superimpose the graph of formula over ...
1
vote
1
answer
45
views
2
votes
1
answer
66
views
ListPlot of a complicated function
I want to find the function $\Pi_i(s,\phi)$ as defined from the following identity:
$$
\Pi_i(s,\phi)=\frac{\phi^{s-1}c}{(s-1)!}\left[\frac{\text{d}^{s-2}}{\text{d}z^{s-2}}g_i(z)^s\right]_{z=1-\phi}\...
3
votes
1
answer
94
views
Dynamic updating plot bug in version 13.3.1.0
I am using Mathematica 13.3.1.0. version on MacBook M2 and there are some issues with dynamic updating. When I disable it I get a strange grey square in the center of the plot.
When I enable it It ...
6
votes
2
answers
224
views
Error bars in ListPolarPlot
I am trying to visualise my data in polar coordinates including error bars. This with Mathematica 12 and the function Around. However,
...
0
votes
1
answer
51
views
LogLogPlot seems to get stuck
The following works:
Plot[InverseSurvivalFunction[MarchenkoPasturDistribution[1], y], {y,
0.01, 1}]
But this one seems to use up 100% of CPU and takes forever
<...
4
votes
3
answers
140
views
Why does ListPlot not work out of the box with a list of associations and how to get it to work?
Let us assume I have several sets of data points with labels, e.g.:
...
7
votes
1
answer
112
views
Points are plotted twice in ListPlot
When I do a plot like this
ListPlot[
{Style[{1, 2}, Red],
Style[{2, 3}, Blue],
Style[{3, 4}, Green]}
]
under the colored points, there are duplicates ...
4
votes
3
answers
367
views
How to fit function with data?
I have
...
1
vote
1
answer
68
views
Specifying tick values and keeping minor ticks
I am unsure how to keep the minor ticks when I specify the tick values. For instance, consider the MWE
...
3
votes
2
answers
111
views
Changing ColorTable on Existing Contour Plots
Context
Recently, Bob Sandheinrich published a very useful code to change interactively colours of a given plot as follows:
...
5
votes
2
answers
116
views
Unwanted noise (lines and dots) in ContourPlot3D
I have a ContourPlot3D that is a bit noisy on one side of the plot. I have tried MaxRecursion but actually it is of no use, <...
2
votes
1
answer
85
views
Three- dimensional histogram with color
I have data, that has the following form: i x y z c ; where i is a number, that goes from 1 to N, x,y,z are thought of as coordinates, and c is supposed to be a value that I want to present as color.
...
0
votes
0
answers
50
views
NyquistPlot creates misleading connections with some plot range
This Nyquist plot depicts a plot range aiming to cover all crucial curve characteristics.
...
3
votes
2
answers
475
views
Rendering of arrowheads in 3D
I have a vector-valued function and vectors have been drawn with Arrow for visualization purposes.
...
6
votes
1
answer
334
views
How to Create a Contour Plot on a Surface of a Unit Sphere from a Table of Values? [SOLVED]
I've generated a table of the form
tupleListImport = {{theta_1, phi_1, value_1},{theta_2, phi_2, value_2},{theta_3, phi_3, value_3},.....,{theta_n, phi_n, value_n}},
where:
theta is a polar angle (in ...
1
vote
1
answer
54
views
First order differential equation with two conditions
I want to produce all possible solutions for this equation:
...