Questions tagged [plotting]
Questions on creating visualizations from functions or data using high-level constructors such as Plot, ListPlot, Histogram, etc.
15,593
questions
0
votes
1
answer
63
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
0
answers
47
views
Making a graph with the constraint that the area is 1
My goal is to making arbitary graph by moving locatable points.Moreover,the graph has a constraint that area between 1~9 is always 1. For graph without the constraint, I could get help from Stack ...
0
votes
1
answer
43
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
138
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
122
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&...
6
votes
3
answers
182
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 ...
3
votes
1
answer
159
views
+300
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
187
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
65
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
43
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}\...
2
votes
1
answer
86
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
223
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
139
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
105
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
364
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
110
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
115
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
49
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
471
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
322
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
53
views
First order differential equation with two conditions
I want to produce all possible solutions for this equation:
...
2
votes
2
answers
118
views
Plotting with legend label
I am plotting 4 data files in one plot like this :
...
7
votes
2
answers
210
views
Construction of a Fuller dome
Cover of TIME magazine, January 10, 1964
Richard Buckminster Fuller (1895 - 1983) was an American architect and designer. He popularized the Geodesic Dome. Carbon molecules are also known as ...
2
votes
2
answers
110
views
Plotting from a table
I want to plot data from my table to look like this
...
1
vote
2
answers
48
views
Applying Style at ListPlot [closed]
My goal is to change color and size of the marker in ListPlot.I could change color of the marker.But I couldn't for the size. How to modify cord for this?(The Style has option for size but it didn't ...
2
votes
2
answers
89
views
Plotting root locus - how to display 'k' values on the curve?
I'm trying to plot the root locus for the function below. Is there any way to make it display the value of 'k' when I move the cursor along the curve, similar to a tooltip?
...
0
votes
0
answers
36
views
Density Plot Not Printing The Entire Range
I have a density function running on a piecewise function. When I plot the x range for full 0 to 1, the upper right corner color range doesn't print, but it works when I plot the x range for that ...
2
votes
1
answer
38
views
LeaderSize has no effect on Callout in Plot
I was trying to change the position and distance from the plot of a label generated using Callout. The following code specifies different ...
0
votes
1
answer
45
views
Overlapping graphics [closed]
My goal is to overlap theoretical graphs (Figure 1) and simulated graphs (Figure 2). (※These theoretical curves are the normal distribution curve and the theoretical curve of the sample average). The ...
0
votes
0
answers
35
views
Getting frequency domain data from time domain using Fourier transformation [duplicate]
I have a dataset following cosine function [e.g. cos(200t)] in time domain. In frequency domain two sharp lines should appear at -200 and +200.
I have to do Fourier transform (or Fast Fourier ...
0
votes
1
answer
59
views
How to find the difference between two plots?
I have the following analytical plot.
...
13
votes
2
answers
581
views
How to produce an Itten color star?
Johannes Itten (1888 - 1967) was a Swiss painter and designer
From 1919 to 1922, Itten taught at the Bauhaus School in Weimar, teaching his students the basics of materials, composition and color. ...
0
votes
0
answers
38
views
The plot doesn't show up when I use Plot3D
In Mathematica help all the examples are given in a way that the function is written like:
Plot3D[{x^2 + y^2, -x^2 - y^2}, {x, -2, 2}, {y, -2, 2}]
I have a code that is huge and the function that I ...
0
votes
0
answers
48
views
How can I use Frame and axes on the same plot?
It is necessary to display the Frame (in the left edge of the plot) and usual axes (in the bottom) in the same plot. Mathematica doesn't support this feature as discussed earlier. But there is a ...
0
votes
1
answer
174
views
2
votes
1
answer
57
views
FontSlant plain mode not working
Whenever I have subscripts in my labels, the FontSlant seems to change to italic. I want the plain style, even for legends.
How to fix it?
...
3
votes
1
answer
120
views
How can I zoom in on a specific region?
I made this plot with Mathematica but it's hard to see the region around the cirtial point -1 + 0j.
Is there any way to zoom the region?
...
0
votes
0
answers
24
views
2
votes
1
answer
59
views
0
votes
1
answer
76
views
Trying to plot the Fourier transform solution to the heat equation on Mathematica [closed]
I have gotten the solution of the heat equation as
where f(y) is the initial heat distribution which I have been given as f(x) = e^([Sigma]x^2).
I am supposed to plot this at the value of sigma 1, 2 ...
1
vote
0
answers
69
views
Subtract ParametricRegions from each other
I have 2 surfaces defined parametrically that overlap. I want to subtract the helical surface from the cylindrical surface to obtain a mesh of just the blue surface in the image. The parameter bounds ...
3
votes
1
answer
206
views
To get rid of "double lines" [closed]
I have the following code:
...
0
votes
0
answers
61
views
How to plot the respective electric field oscillations within an ultrashort pulse envelope if given a spectrum in wavelength?
I'm trying to reconstruct the electric field oscillations of an ultrashort pulse from experimental spectrum data readout [600nm to 1100nm]. I have successfully written the codes to convert the ...