# Tagged Questions

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

52 views

### ContourPlot not displaying the plot properly

I am having some issues using PlotPoints in ContourPlot. In the following code, depending on the ...
132 views

### Shortest distance path on contour plot

I have a contour plot made of the following list: ...
61 views

### How to merge a ListLogPlot including a discrete set of data points with a LogPlot including some analytical functions?

I have an analytical 1d-function of a variable called $M$ and I have plotted that function using the following code: ...
60 views

### RegionPlot error

I'm trying to represent the following table using the command regionplot. The rectangle (0,0), (0.5,0), (0,1),(0.5,1) should be covered, however it is not. Does anyone know what the problem is? Thank ...
46 views

### Why is the solution of NDSolveValue asymmetric when the regions it's solving over are symmetric?

I am creating a mesh over a 3D region and then using NDSolveValue to try and solve for a function over that mesh. The structure is fairly simple, just two polygon squares inside of a big cube. I ...
40 views

### Connect pairs of points in ListPlot by arrows

A have set of parameters (p1, p2, p3, l, ...) taken at different time. I would like to plot them connecting the same param. with arrows from older point to the recent ones so I could see evolution of ...
64 views

### Need help on simplifying the integral of a square root of a polynomial

I have the following expression a = 4 Cos[af / 2]^2; b = 1 - 5 Cos[af / 2]^2; c = Cos[af / 2]^2; s = Sqrt[a*x^4 + b*x^2 + c] and I need the integration of $s$ in ...
46 views

### Generate list of pairs for a function in many varibels [duplicate]

In my previous post ListPlot with many variables I asked how to plot function f[x, y, z, d] versus x for varying ...
51 views

### Help with GeoRegionValuePlot

I am trying to get a map with 4 colors, I have several regions with values from 0 to 3 and I want to color those regions with value 0 in white, with value 1 in yellow, with value 2 in orange and with ...
34 views

### How does ContourDetect work for arrays?

By the Wolfram Documentation, ContourDetect gives a binary sparse array in which 1 corresponds to zeros and zero crossings in an array. However, in the example: ...
64 views

### Can't see the text inserted into a plot by Epilog

I use this command ...
321 views

### Plotting “Terrain” with “Water” on them Using BarChart3D

It's easy to present a terrain using BarChart3D using ChartLayout -> "Grid"with the following code: ...
30 views

### Correct range for X-axis in ListLogPlot

There must be a quick solution to this problem: How do you get the correct range for the X-axis. Attached below is the code: ...
85 views

### How to make RegionPlot for lists of points

Suppose I have the following function: DC[x_, y_] := 3 x - y sigma[x_, y_, z_, d_] := 3 DC[x, y] + 5 z + d I made list of ...
25 views

### How to customize the order of leaf labels in a dendrogram plot?

Take the following simple case as an example: Needs["HierarchicalClustering`"] SeedRandom[99]; Sort@RandomInteger[99, {10}] gives {2, 7, 22, 34, 42, 58, 60, ...
89 views

### ListPlot with many variables

If I have a function: f[x_, y_, z_, d_] = 4 x + y + z + d; and made lists for f for different values of the free parameters x,...
113 views

### How to draw a certain PDF

Here Dist is the PDF. I need to draw it. Can someone suggest me a way to do it? ...
61 views

### fail to export the 3d figures in eps form correctly in the 10.4.1.0 version

I'm experiencing some strange problem, which is, when I try to export a figure to the eps form, either by right-click save as, or by the export command, the obtained .eps file seems in fact not to be ...
68 views

### How to rotate AxesLabel

i was wondering how it is possible to rotate the axesLabel of a Plot in Mathematica. Specifically i want to rotate the Label of the Y-Axis so that it shows up next to the axes to use up less space. ...
59 views

### Using RegionPlot to create letters

I unified several regions in order to create a simple word : ...
59 views

### How to draw a contour line that intersects with a specified line (perpendecular to xy plane)?

Assuming I have the 2D scalar field $f(x,y)$ and I want the contour line of $f$ that intersects with the line $x=2,y=3$. How can I do that? At further steps I want the equation for that contour line....
36 views

### How to invert an Elliptic function where the elliptic nome is a function of an independent variable?

I have a Jacobian elliptic function as a function of two independent variables $x$ and $y$. The elliptic parameter $m=m(y)$, $0 \leq m \leq 1$, is also a function of the variable $y$, and thus the ...
58 views

### Grid: How to assign a common legend to multiple plots?

I made four plots, named Fig1~Fig4. Then I used Grid to put them together in one figure. Now I wish to add a legend in the bottom of the last figure. ...
96 views

### Find the equation of the parabola and sketch the graph [closed]

Consider the following information: A quadratic function with equation $f(x) = ax^2+ bx + c$ passes through three points, $A(-1,-1), B(1,-7)$ and $C(3,3)$.
68 views

### Plotting positive function … looks like it goes negative

I recently answered a question on the stats SE site which involved a $\text{Sinc}^2$ distribution with pdf: f = (Sin[x]^2)/(Pi x^2) ... defined on the real line. ...
65 views

### How to show an angle axis in a RevolutionPlot3D plot

I want to make a RevolutionPlot3D of a three dimensional wave-function which is defined only between two radius. I work in cylindrical coordinates. The idea is to ...
94 views

### Check Zagier theorem about Mahler's measure

I want to check the following theorem by using Mathematica: (from Heights of Polynomials and Entropy in Algebraic Dynamics, page 22) $\textbf{Theorem}.$ Let $\omega$ denote a primitive $6th$ ...
655 views

### Joining points into 3D surface

This seems like a simple problem, but I can't find any questions like it here so I'm making a new one. Apologies if I missed one. I have a list of points contained in a file which can be visualized ...
85 views

### Complex Plot with Imaginary Part encoded in color

Heyhey, I wanted to plot the complex cosine in a 3D graphic where the real part is given by the surface, while the imaginary part shall be indicated by the color. Therefor, I tried the code ...
27 views

### Remove surface from graphic [duplicate]

How to remove surface from the following graphic? I need only Mesh, (black lines). ...
118 views

### Coding using time from system(computer)

Please help me to solve this problem below. I want to run this coding based on the time given by the system. Given, A = ( { {E^(I [Beta]1 + I [Beta]3) Cos[[Beta]2t], E^(I [Beta]1 - I [...
96 views

### Change or force plot legend marker symbols

I am wondering if there is a way to force the plot legend symbol for each respective plot. I am currently using a package created by AlexeyPopkov, which corrects the off-centre plot marker issue very ...
117 views

### Need help translating Mathematica code to LaTeX

So I got a gift for a friend based on Mathematica code. ...
28 views

### Why is SliceDensityPlot3D leaving out sections that DensityPlot gets? [duplicate]

My program uses NDSolveValue to solve for a 3D function. The code is pretty hefty so I've pasted it here, and I'm just including the really relevant excerpts of it below. Once I have my 3D function, <...
64 views

### Clothoid (using Fresnel Integrals) [closed]

A clothoid is represented by The Problem Given the following functions, use Mathematica's Fresnel Integrals to plot the curve. My Attempt ...
56 views

### Text Offset Question

There is an absolutely wonderful answer by Heike at Generate a Unit Circle Trigonometry. It is an answer that will lead me to a lot of learning. Here is my playing with her code: ...
34 views

### Plotting x value and error bar in y from a data file

Here are some of the points where first column is the values on x axis and the other two values are lower and upper limits for the error bars in y. ...
54 views

### DiscretePlot: differentiate without using different colors

I need to plot multiple series in the same figure. As the picture will be printed in white and black only, how can I differentiate these series so that readers can identify them from each other? ...
73 views

### Placing a label at a point [closed]

I am a rookie in the use of Mathematica. How do I place a label next to the point where two lines intersect? ...
15 views

### Problem with PolarPlot and Table [duplicate]

If I have a set of numbers, for example grid = N[Table[n^2/2, {n, 3, 24}]] And want to plot that as circles I can either use Graphics[] and Circle[], or ...
38 views

### Plot markers appear off-centre [duplicate]

Before I start I should mention that this question has been posted in another form here, Point Renderings Slightly Off in Mathematica. However my case is slightly different in that I do not use ...
92 views

### how do I 3D Plot f(x,y,z)=0

I am very new to mathematica and was wondering how I could 3Dplot -5(x-2)-7y+3(z+4)=0 I've tried 3DPlot and Contour but neither have seemed to work. PLease help.
77 views

### How to fill the heart curve with solid red color?

The parametric equation of the heart curve is from this link \left\{\quad \begin{array}{rcl} x&=&\cos {t} \cdot\sin {t} \cdot\ln \left| t\right| \\[10pt] y&=&\left| t\right| ^{0....
72 views

### Filtering Background with resonance or Peaks

I have some data, the blue curve which I want to filter out the background to get a flat signal with dips(Idea is to divide signal (except the dips) by the background). The orange curve is my best ...
197 views

### Plotting the solution of $\sin(x)\sin(y)$ + elliptic cylinder

I have a problem with one of my school project :( I need to add function: $\sin(x)\sin(y)$ to elliptic cylinder $\left(\frac x a\right)^2+ \left(\frac y b\right)^2 = 1$ After few hours, only this ...
58 views

### Gray boxes around labels in exported image (PDF, JPEG,…)

From time to time, when I export plots with Mathematica, the labels have gray boxes as a rectangular background. I am using Mathematica 10.0.1 for Linux (gentoo) 64bit. Consider this thing I again ...
67 views

### Avoid white area on contour plot [closed]

I am trying to plot contour plots and some of them show a white patch because of a change in sign of the points plotted. How can I make the contour plot show this change in sign without having to take ...
82 views

### Opacity of a given point in ListPlot

I have a flat list of data {{x1,y1}, {x2,y2}, ..., {xn,yn}}, that I plot with a ListPlot. I now want each point to have it's own ...
There is a well-known unsolved problem in geometry: $\textbf{Toeplitz' conjecture}:$ Every continuous simple closed curve in the plane contains four points that are the vertices of a square. ...