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

learn more… | top users | synonyms (12)

4
votes
0answers
74 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. ...
1
vote
1answer
117 views
9
votes
2answers
142 views

Inscribed square problem

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. ...
3
votes
1answer
71 views

ListContourPlot3D is blank

I want to do a ListContourPlot3D. The list of data is as follows ...
2
votes
2answers
97 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 ...
3
votes
1answer
106 views

Plotting huge amount of data with non-default colour function

I want to plot a huge amount of binary data (a 2700x2001 matrix, 5402700 points), and for that I am using the Graphics[Raster[]] function. With just that command, ...
1
vote
2answers
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 ...
3
votes
1answer
86 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 ...
0
votes
1answer
79 views

Plotting the modular surface of a complex function [closed]

Tristan Needham stated in the introduction to Visual Complex Analysis that he used Mathematica to create the majority of graphs in his book. I'm trying to recreate the graph he made for figure[14] of ...
1
vote
0answers
27 views

Remove surface from graphic [duplicate]

How to remove surface from the following graphic? I need only Mesh, (black lines). ...
53
votes
7answers
5k views

How to plot Venn diagrams with Mathematica?

How does one plot Venn diagrams with Mathematica? I've searched quite a bit and I've found one source at MathWorld which provides the source code for doing them. But I don't understand this code, can ...
3
votes
4answers
199 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 ...
0
votes
1answer
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 ...
3
votes
2answers
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: ...
6
votes
2answers
1k views

Interactive 3D plot in web browser?

Are there any ways to show a mathematica plot in a web browser so that the user can rotate it and such? I am open to embedding it in a web page - or some other method such as porting it to a ...
1
vote
2answers
75 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? ...
1
vote
1answer
35 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. ...
0
votes
2answers
127 views

make a surface plot that changes with time from csv data

How can I plot 4d data from a csv, using a slider for the 4th variable? I would like to use var1 and var2 as x-y corrdinates, var3 as surface height, and var4 as the time slider. If I have a csv <...
1
vote
2answers
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? ...
0
votes
0answers
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 ...
27
votes
2answers
4k views

Joining and interpolating data points

I wonder what is the best practice for interpolating curves? Usually, I'm using BSplineCurve and adjusting SplineWeights so it ...
0
votes
0answers
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 ...
1
vote
2answers
93 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.
1
vote
1answer
93 views

Fourier transformation of multidimensional list [closed]

x is a list containing 7 trajectories (Dimensions[x] = {2726, 7}) of which I want to calculate the FFT. ...
1
vote
1answer
78 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....
6
votes
6answers
3k views

How do I fill in a circle made by ParametricPlot with one solid color?

I have a very simple question but I am new with Mathematica. I made a circle on a parametric plot and I made the line black. I want to make the inside of the circle on the parametric plot red. So the ...
5
votes
3answers
120 views

ListPlot of data with small differences [duplicate]

This following is a similar question as plot data with small differences, but I am not able to solve my problem with the proposed solutions. ...
3
votes
1answer
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 ...
3
votes
1answer
119 views

How? 2-dimension visualisation of all 3d-orbitals as either a density plot or as function of maximal radius

I've been playing around with some d-orbitals and have been trying to view their maximum in two dimensions. At the moment I've progressed to the point where the d__ orbitals are superimposed onto one ...
5
votes
1answer
60 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 ...
0
votes
0answers
87 views
2
votes
2answers
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 ...
0
votes
1answer
42 views

Manipulate required to manage 3 parameters one which is a function

Let f(x)=ax(1-x) and I=[0,1]. Then f(I) is contained in I for 0≤α≤4. Take any *x*0 in I and study the iterations *x*1=f(*x*0) etc. Convergence or otherwise around the one or two fixed points (...
0
votes
1answer
111 views

ParametricPlot3D crashes Kernel when called repeatedly in loop

I have a parametric function surf[u,v]. It can be plotted successfully like this: ...
5
votes
4answers
230 views

Plotting multiple lists together with their avarages in a single plot

I have as example multiple lists of x data (in mm) http://pastebin.com/7xwgGDsd which I want to plot against time (in sec). ...
1
vote
2answers
54 views

How to transform torus animation

How I could transform animation on this torus : ...
1
vote
2answers
42 views

How can I specify the plot range of a BoxWhiskerChart? [closed]

I am combining multiple BoxWhiskerCharts using GraphicsGrid. This works properly, however I want the different charts to have ...
2
votes
1answer
58 views

How to overlay ListPlot on a ContourPlot with correct range? [closed]

I am trying to superimpose a scatter (Listplot) on a contour plot. If p1 is a contour plot and p2 is a scatter plot imported from some data, how do I plot them on top of each other? I tried Show and ...
0
votes
0answers
47 views

How to get ContourPlot3D to run involving elliptic functions?

I need to plot zeroes of a function of three variables that involves elliptic functions. For example, I have ...
0
votes
0answers
47 views

Motion of the particle on a surface

i have project for my studies. i must make plot3D my particle for z==Sin[2x] Cos[3y] and i must make surface for this model. But this surface must be Elipse and ...
4
votes
3answers
171 views
0
votes
1answer
55 views

How to plot time-dependent vector field?

My problem is: plot the motion of the top of the vector $E$ (electric field) on the plane $$(k_1 - k_2)z = 0.25 \pi$$. Vector components are $$E_x = \cos(\omega t - 0.5(k_1 + k_2)z - 0.5(k_1-k_2)z)$$ ...
1
vote
0answers
59 views

Lyapunov Exponent of the Rössler System

I would like to plot a semi-log plot of the Lyapunov exponent $λ_{x_0}, x_0=(1,1,1) \in \mathbb{R}^3$ versus time $t$, for the Rössler system described by: \begin{equation} \begin{array}{lcl}\dot{x}&...
5
votes
3answers
135 views

Show and PlotLegend row spacing

In this toy example I make some plots, each with a legend, and combine them with Show. All the legends are assembled into a column which is helpful but it is too high for the size of plot. How can I ...
-1
votes
2answers
134 views

How to make a good scatter plot

I have the following cross section: c = 0.117 At= 1.37375 sigma[Y_,m_] = ((c^2)/(256*Pi))*( (1/2) ( Y/m ) *Abs [At] )^2 *10^8 When I make ...
3
votes
1answer
261 views

Plotting the 3D region that determines a volume

I need to plot this with Mathematica: Use a triple integral to determine the volume of the region below $z = 4 - x\,y$ and above the region in the xy-plane defined by $0 \leq x \leq2,\ 0 \leq y \...
0
votes
0answers
29 views

Logarithmic scale for parametric plot [duplicate]

I would like to introduce a logarithmic scale for the following parametric plot ...
2
votes
1answer
73 views

Coloring (Temperature) surface of parametric 3D plot

I am stuck on figuring out how to do a "Temperature" Color scheme for a surface plotted using ParametricPlot3D. As an example, here is a plot of one example surface. This is a antenna gain plot of ...
0
votes
1answer
73 views

How to merge two plots in Mathematica 8.0 in a column and then save the figure as a single pdf file?

I have defined two plots and then want to merge them into one so that I can save the figure as a pdf file into my computer. Here is MWE where I would like to merge two plots into one: ...