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

learn more… | top users | synonyms (5)

2
votes
1answer
322 views

Putting N cubes on a circle

I'm trying to put $N$ cubes on a circle equidistantly. So in the case of 4 cubes, I'd for example like to put the lower left corner of the first cube at $\pi/4$, the lower right of the second cube at ...
3
votes
3answers
236 views

How to plot a coalition game?

Consider a game of a function $v$ which has \begin{align} v(1) & \geq 1\\ v(2) & \geq 0\\ v(3) & \geq 1\\ v(1,2) &\geq 4\\ v(1,3) &\geq 3\\ v(2,3) &\geq 5\\ v(1,2,3) ...
-1
votes
1answer
43 views

Not plotting elliptic integrals [closed]

Integrate[1/Sqrt[mu^2 - Cos[t]^2], t] CenAng[t_, mu_] := EllipticF[t, 1/(1 - mu^2)]/Sqrt[mu^2 - 1] ParametricPlot[CenAng[t, mu], {t, 0, Pi/2}, {mu, 1.01, 3}] ...
11
votes
3answers
456 views

Subtracting two plots from each other after shifting one

I have the following lists representing energy spectra that need to be subtracted from each other to produce a difference spectrum. ...
1
vote
2answers
119 views

Slow program- Mathematica shuts down

I've been trying to draw dynamic pictures of level sets of certain polynomials. The code right now looks like that : ...
1
vote
3answers
114 views

Plotting entries of one table vs entries of another with a condition on a third table

I have three Tables, say, A={1,2,3,4,5}, B={1,2,3,4,5}, C={1.1,2.2,17,1.5,5} of the same ...
2
votes
2answers
114 views

How to plot a quarter disk with specified height?

Kind of important: the solution posted does work, and answers the question in that sense. However, it is very slow, so a faster option would be much appreciated. I'm trying to create the following ...
1
vote
1answer
43 views

Make a column of two plots

I'm trying to plot a pair of functions of the same variable one above the other. A simple example is ...
1
vote
2answers
92 views

How can I show cursor coordinates as I move the mouse over a contour plot?

How can I show cursor coordinates as I move the mouse over the contour plot in the result displayed by evaluation the following: ...
3
votes
1answer
76 views

Longer ticks without specifying the ticks itself

I know similar questions have been asked here before, but i can't figure out this specific problem. I have a lot of plots that i'd like to bring to a publishable form, but in my current customization ...
17
votes
4answers
2k views

Plotting a contour on a torus

There are two ways to consider a two-dimensional torus. One way is to take a parallelogram (let's say the square $[0, 1]^2$) and topologically glue the opposite edges. Another way is to look at the ...
13
votes
2answers
195 views

How can I make Plot show the plot while it's computing it?

Normally, Plot acts like a black box and only gives you the requested plot once it has finished computing it. However it can be useful, other than interesting, to ...
0
votes
1answer
101 views

Scatter Plot of Lists

This is very similar to Make a scatter plot from two lists I have executed a = Import["file.csv"] b = Import["file2.csv"] and now have a {{1,2,3}} and b ...
2
votes
1answer
59 views

Rotating a 3D plot constantly resizes

When I click and drag a 3D plot it rotates and when I release the mouse, the size of the image changes. This is distracting to me, I'd much rather have it look the same when I release the mouse button ...
0
votes
2answers
108 views

Given integral, how to plot

I want to use mathematica to visualise some plots, this would help me understand my calculus course. My problem is this: Given that x^2 + y^2 <= a^2 Find ...
0
votes
0answers
40 views

Plotting points given by user in a CDF Player Manipulate

I'm trying to make a CDF file that contains a manipulate plot including the graph of a function along with some points input by the user. Here is a toy example: ...
6
votes
1answer
102 views

Traces of the level surface $z=4x^2+y^2$

I came up with this method to plot the traces of the surface $z=4x^2+y^2$, in this case for $z=1$, 2, 3, and 4. ...
3
votes
0answers
71 views

Stability analysis of transcendental equation (stability crossing curves)

I am working with a non-linear delay system with three scalar delays. After taking the Laplace transform of the linearized system, the characteristic function is a transcendental equation with three ...
24
votes
5answers
660 views

How to examine the structure of Graphics objects

One difficulty I'm encountering in studying the structure of Graphics objects is that I have not yet found a way to print or display such structures that are ...
11
votes
2answers
355 views

How to obtain adaptive sampling as in Plot function?

Adaptive sampling in Plot function can capture the oscillation of a function with very few points. How can I get a similar sequence of point pairs without using ...
3
votes
2answers
110 views

Contour lines over SmoothDensityHistogram

I am using SmoothDensityHistogram on a data set of the form {{x1, y1}, {x2, y2}, …, {x_n, y_n}}, and I would like to also show ...
2
votes
2answers
80 views
0
votes
1answer
29 views

Problem Plotting List Data [closed]

I'm trying to plot the following data but it's not producing a graph. It's really a graph of y = x^2 but it's not drawing the parabola. ...
0
votes
0answers
46 views

how to make one plot for each line of a table of 127 datas (127 plots) , or one plot with 127 curves onto it?

Good evening, I encounter a difficult problem. I have 127 lines of data, with for each line, 9 columns. I imported from a txt file : ...
0
votes
3answers
65 views

Logarithmic x-axis for ListPlot?

I have a list of points that I am trying to plot. Is there a way to make a ListPlot where the y-axis increases normally by 1 every interval but the x-axis ...
4
votes
1answer
119 views

What do the X and Y axis stand for in the Fourier Transformation in wolfram mathematica?

In wolfram mathematica the function Fourier has the following declaration Fourier[list] And after a list is given to the function, a simple Plot gives the ...
8
votes
2answers
437 views

Interactive Mandelbrot Zoomer?

I want to combine Manipulate with ManbelbrotSetPlot just to get Mathematica to give me a quick and dirty Mandelbrot Zoomer. I want to be able to single/double click on a section, and have it zoom in ...
0
votes
0answers
50 views

Problem with plotting a piecewise function [duplicate]

I'm having a very puzzling issue with piecewise defined but smoothly continuous functions. I have a perfectly continuous piecewise function defined as ...
1
vote
1answer
46 views
0
votes
0answers
64 views
1
vote
0answers
57 views

How can “lift” a plot which passes near y=0? [closed]

I know this plot below does not touch b=0. How can I lift it in order to see those values near b[M]=0? I tried ...
2
votes
2answers
85 views

Plot: Construct an Amoeba

I am trying to plot an Amoeba, e.g we consider the polynomial f(z, w) = 2 z - w + 1 and solve it explicitly , the solutions satisfy the equation ...
46
votes
3answers
2k views

Python-style plots in Mathematica

I love making plots in Mathematica. And I love to spend a lot of time making high-quality plots that maximize readability and aesthetics. For most cases, Mathematica can make very beautiful images, ...
3
votes
1answer
60 views

How to define the plot area to the inside of a circle

I dont want the lines not to go beyond the inside of the shown circle but i dont really know how to do it. PlotRange -> {{-1, 1}, {-1, 1}} only sets a ...
0
votes
2answers
84 views

bifurcation diagram for iterative map function [duplicate]

I have a mapping function (cubic logistic map) $f(x)=rx(1-x^2)$ and I need to make multiple bifurcation diagrams, showing stable equilibria and periodic orbits for $400$ equally spaced $r$ values ...
0
votes
1answer
87 views

Animating a parametric plot

I am attempting to animate my parametric plot, but am having difficulties. I tried simply wrapping the plot code with an Animate[expression,{t,0,5}], but that ...
0
votes
1answer
62 views
8
votes
3answers
726 views

Plot3D in Mathematica: how to plot in presence of parameters

I realize I the earlier question was ill-posed. To clarify: I am trying to find the values of $A$ and $B$ that will maximize a function f on the domain ...
15
votes
1answer
807 views

Is Mathematica `ContourPlot` function really so efficient?

I wanted to find the roots of the function $f(x,y)=\sin(3.2x)\sin(1.3y)-2.1 \sin(1.3x)\sin(3.2y)$. This is what the function looks like: ...
11
votes
3answers
1k views

Pass list of options to Plot3D

Consider the example plotOptions = {PlotPoints -> 10, MaxRecursion -> 2} Plot3D[x y , {x, 0, 10}, {y, 0, 10}, plotOptions] Why does this causes the error: ...
3
votes
1answer
237 views

Plotting random circles in a square

How can we draw 20 circles which have random radius in a specified range, with random positions. All centers must be in a square with side=10 (for example centimeter): every overlapping between any ...
0
votes
0answers
56 views

Solving a Transcendental Function of two variables numerically

I have a transcendental function F of two variables, i.e. F(x,y). The function F contains ...
38
votes
3answers
1k views

Why are my plots displaying behind the axes?

I need to create graphs with light gray axes and black lines. All of my plots display behind the axes. How can I make the plots display over the axes? ...
4
votes
1answer
60 views

Superimposing ListLineIntegralConvolutionPlot with transparent noise over ListContourPlot

I have an array of 128x256 data points in a rectilinear array. For each point there is a 2D vector quantity and a scalar quantity (normalised to -1 <= x <= 1). I very much like the ...
0
votes
1answer
37 views

Defining a function in terms of a solution returned by Solve

The title is a little ambiguous, but I didn't know how else to put it. What I'm trying to do is solve a system of equations ...
4
votes
1answer
68 views

BarChart3D: varying individual bar color

I've been working with a chart like so: ...
1
vote
2answers
116 views

ContourPlot has weird Jagged line

I'm trying to make a series of contour plots, but pretty much everything I try (and I've tried many different equations) ends up with at least one jagged line of the form seen in the image. I don't ...
3
votes
1answer
114 views

Plot a function on a restricted domain

I want to plot a function $f:\mathbb R^n \rightarrow \mathbb R$ restricted to a domain $D \subset \mathbb R^n$. The domain $D$ is usually specified as the set of zeros for a set of polynomial ...
9
votes
2answers
208 views

Volumes of Revolution with detailed diagram

All, In calculus I have to do images such as the following in helping explain technique to students. This one is by rotating $y=\sqrt x$ about the x-axis, an image copied from Stewart's Calculus ...