# Tagged Questions

Questions on creating visualizations from functions or data using high-level constructors such as Plot, ListPlot, Histogram, etc.

50 views

### How can I plot an exponential Fourier series? [closed]

Iam triying to plot summatory of the next function: (e^(i*n*t*wo)*Sin[n*Pi/2])/(n*pi) I have no problem plotting a trigonometric fourier serie, so the only ...
97 views

### How do I change the scale on a plot so different parts of the axis are on different scales?

I have to make a simple plot using the Plot function. However on the $x$ axis I want the scale to be such that it initially shows a zoom up of $0$ to $1$, and then ...
178 views

### How to turn off depth sorting of 3D curves for Manipulate?

Is there a way to turn off the default depth sorting of curves in a 3D output of several complicated curves ? Currently, I suspect that depth sorting has a very strong impact on performances on my ...
68 views

### How can I label the arrowhead?

I want to put a label in the three arrowheads on the top. I tryed with "VertexLabel" but I don't know how this command works. ...
73 views

### Simple ListPlot with different colors and labels [duplicate]

I want to plot a list of points where every point has a different colour. Is it also possible to label these points according to a list of sample names I have in Excel? Please help.
45 views

### Plotting results of 'Do' loop in contour graph

I want to plot the results of a 'do' loop as a contour graph: ...
144 views

### Why is ListContourPlot so slow?

The process of ListContourPlot[] or ListDensityPlot[] is extremely slow comparing to Matlab's ...
31 views

### How to avoid frames or axes from intersecting? [duplicate]

I want to have a plot, such that it is displayed like so; so that the axes or the frames don't intercept. I was able to achieve this only by covering with graphics, with epilog, like so: ...
65 views

### Labeling Points on a Plot

I have the following discrete map: $$x_{n+1}=μ-x^4$$ for which I have used manipulate to see the way the system evolves depending on the real parameter $μ$: ...
133 views

### How can I hide points in frame?

How I can hide the points ouside of blackbox? I want make a video moving the black box. like this: https://youtu.be/o5aNBKvay-M ...
79 views

### How to change the 3D Mesh resolution?

I need to fix the resolution of the mesh lines drawn on some surfaces, and currently I don't know how. Here's a MWE to work with (a simple sphere) : ...
274 views

### Roots of a characteristic equation. Can Mathematica solve it?

I have been using Mathematica for a few years, but with basic things. Now I need to find the first 10 roots of the following equation: ...
96 views

### Plot values of an $m\times n$ matrix on the complex plane with color varying along $m$

Let's say I have a complex valued matrix $\begin{pmatrix}1+I&2+2I&3+3I\\4+4I&5+5I&6+6I\end{pmatrix}$ represented by a list: ...
81 views

### Transforming from implicit Cartesian form to a parametric form [closed]

First equation $((1.2 x)^2 + (1.4 y)^2 - 1)^3 - (1.3 x)^2 y^3 == 0$ I wanna transform it into a parametric equation. I spent a much of a day working on it without success. The equation describes the ...
95 views

### Simulating a Wave Pulse

How to construct a code that superimpose n=10 one dimensional sinuisodal waves. each with an angular frequency ...
94 views

### ploting the graph of 1/z for a given value

I want to plot the graph of ${1}/{z}$ , for a specific single value of |z| (z - complex variable) . I would like something like ...
30 views

### Plotting these functions without encountering overflow errors

I want to plot the iterates of the function $f(x)=13xe^{-x}$ up to power $4$. So I am using the code Plot[{f[x], h[x], j[x], g[x], x}, {x, -0.3, 4}] where $f,h,j,g$ ...
137 views

### Putting arrows in 3d plot

How can I put vertical arrows in the center of each cylinder and around them? ...
274 views

### Plot between multiple curves

I have three functions, U1, U2, Dead. I would like to fill the area between the three ...
181 views

### How to add an outline around a closed 3D surface?

I would like to add a black outline (silhouette) all around a closed surface. Here's a MWE code to work with : ...
198 views

### Plotting the solutions of $y' = -\frac{\cos y}{\sin x}$

I struggle with the problem of plotting the solution of this ODE: $\qquad y' = -\frac{\cos y}{\sin x}$ I've already tried to use ContourPlot in a loop and in a ...
127 views

### How to remove the white border in Manipulate?

Is it possible to remove the default white space around a 3D graphics, inside the Manipulate box ? Here's a small MWE to show the white border I'm talking about : ...
70 views

### Drawing a Voronoi plot with different colours of the polygons [closed]

I generate a 3-D Voronoi plot using the Mathematica script give below. Now, I need a similar two dimensional Voronoi plot with a different density (also polygons with different colours as in the 3D ...
249 views

### How to remove a small gap (fold-like line) on a closed 3D surface?

This problem is probably pretty basic, but I can't find a solution anywhere. Here's a closed surface with a nice yummy flavor : ...
53 views

...
94 views

### Plot a line on the complex plane knowing one point and its orientation

I want to draw a line on the complex plane which begins at $0.4+0.1i$, and with an angle of $\frac{\pi}{4}$ with respect to the real axis. Is there a simple way to do this in Mathematica?
81 views

### Force ExplicitEuler Method of NDSolve to produce simple “connect the dot” plot

The code plots the solution to an ordinary differential equation (ODE) on its corresponding vector field by one of two methods: (1) click on an initial point of the vector field or (2) keyboard entry ...
115 views

### How to color one “panel” of ListPlot3D

Here is my code: data = Table[{i, j, RandomInteger[{1, 10}]}, {i, 5}, {j, 5}]; thePlot = ListPlot3D[Flatten[data, 1], InterpolationOrder -> {0}] How can I ...
319 views

### Orthogonal families of curves

I have a problem that requests that I plot two families of curves: $$x^2+y^2=r^2\qquad\text{and}\qquad ax+by=0$$ I can get the first family with: ...
139 views

### How to make the mesh to rotate with a surface in Manipulate?

Here's a Manipulate code to show a particular 3D surface, rotating uniformly in time. The point of this Manipulate box is to show that the surface do indeed rotate like a solid, so I can't "cheat" ...
231 views

### How to skip weekends in DateListPlot?

How to skip weekends in DateListPlot, ie, drawing 20 something data points for a month and not leaving 2 days gap between weeks? Currently DateListPlot occupied the actual number of days for a month ...
70 views

### How can I graph this inequality on the x-y plane?

I'd like to graph the following inequality on the x-y plane: $$P(y): (\forall x\in [0,y))\left(\frac{x - \epsilon(1+a)}{a} \leq y \leq \frac{x + \epsilon(1+a)}{a}\right)$$ This is the set of ...
190 views

### Changing the Rotate behavior of a 3D graphics

Is it possible to change the way Mathematica rotate its 3D output graphics, when the user uses the mouse ? Here's a MWE to work with : ...
134 views

### rescaling ColorFunction for ListContourPlot

I have this question that I've been struggling with. I came across many similar questions, but those solutions do not work for me. What I looked at: Example 1 Example 2 Example 3 I apologize if I ...
91 views

### Ugly rendering of curve with ParametricPlot3D and NDSolve [closed]

I frequently have this rendering problem when I plot a complicated curve with ParametricPlot3D, found by solving a differential equation with NDSolve : The curve should be more "regular" (it is ...
116 views

### Change bond cutoff distance when plotting .xyz files

When plotting a molecule from a xyz data file, Mathematica automatically adds the bonds between the atoms. But in my case it adds too many bonds, not only between nearest neighbours but also between ...
106 views

### RegionPlot not plotting some regions

RegionPlot appears to have regressed in version 10.4 In 10.3.1 RegionPlot[ImplicitRegion[x^2 + y^2 == 1, {x, y}]] gives ...
53 views

### Manipulate Tupper's self-referential formula [duplicate]

How to Manipulate $n$ in Tupper's self-referential formula? ...
72 views

### Collecting points in a density plot

I have the following density plot: DensityPlot[x^2 + y^2, {x, -1, 1}, {y, -1, 1} , MeshFunctions -> {#3 &}, Mesh -> 1] I want to collect the points on ...
51 views

### Visualizing how a function varies as a parameter varies [closed]

I would like to plot the following function: \dot{y}=9.81\frac{90}{162.84}(e^{-\frac{162.84}{90}(t-t_0))}-1)+9.81\frac{90}{14.81}e^{-\frac{162.84}{90}(t-t_0)}(e^{-\frac{14.81}{90}t_0}...
49 views

### Want to plot spectral exitance versus wavelength [closed]

I am an undergraduate student trying to plot spectral exitance versus wavelength for a gray body. I am a beginner with Mathematica and I cannot figure out why I have no plot. This code was my attempt ...
98 views

### “Moving” plot of a point moving in circular motion, in 3D

Maybe this is a tricky one! I want to have a 3D plot in Cartesian coordinates of a point moving in a circular orbit around x,y,z = 0. where the circular motion is only in the x,y plane. Has anyone ...
94 views

### How to discard colorbar shadow in contour ploting in mathematica [closed]

I am plotting a contour plot in Mathematica with Showlegend command, but trouble is that I am getting a black shadow with colorlegend which I want to remove. ...
74 views

### calling multiple functions in manipulate [closed]

Continuation Manipulate function to generate outliers I want to call a function in the manipulate environment so that the changing data is fed to another function and both the plots are plotted in a ...
99 views

### Wavelet Data Visualization (modus and phase) ListPlot [closed]

Due to ContinuousWaveletTransform[...] I can obtain information about wavelet-coefficient for example ...
62 views

### How I show multiple cases on a plot? [closed]

This code is for detecting one point. How can I make the code work for multiple point detecting. Consider the data ...
63 views

### Behavior of the ScalingFunctions option [closed]

The documentation of ScalingFunctions has been improved in V10.4. Its use in making list plots is now documented. However, after reading the new ...
80 views

### Table with power law indexing

I am using the Drubin numerical inversion out of Laplace space, and need to see how the function performs over a wide range of values, covering multiple logrithmic cycles. However, the inversion is ...