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

learn more… | top users | synonyms (6)

4
votes
1answer
103 views

How to automatically align multiple legends in Show [duplicate]

I am looking for a way to align two multiple legends while I can control the position of one of the legend myself. Consider the following code. ...
0
votes
0answers
67 views

Does ListPlot have a bug when plotting large lists?

I was able to plot the first 13315 points of my data, but as soon as I try to plot one more data point, it no longer works. If you load the data contained in the google doc file 19857 pairs of data, ...
1
vote
1answer
102 views

Plotting a best fit line for listloglogplot data

After playing around with calculating the Overlapping Allan Deviation for my research project (and with much help from this community), I have finally resolved a correct listloglogplot for simulated ...
0
votes
0answers
32 views

Plot / Contourplot When are variables assigned? [duplicate]

I asked a question recently that made me clear, that I don't understand how Plot / Contourplot works. If I have something like ContourPlot[f, {a,-10,10},{-10,10}] where ...
0
votes
0answers
50 views
1
vote
0answers
76 views

Bessel functions and ListContourPlot [closed]

I'm trying to plot some eigenfunctions (for a semicircle) in Mathematica. Functions are of the following form: $$g_{ms}=J_{2m+1}(y_{ms}x) \sin ((2m+1)\varphi)$$ For example, for $m=0$ and $s=1$ it ...
1
vote
2answers
119 views

Plot contour integral plots

I am $\TeX$ writing notes on complex analysis, I need to use figures of contour paths to integrate on them, how can I plot them on mathematica, something like this adding also the $\gamma_R$ ...
1
vote
1answer
114 views

How to make a cumulative time plot?

So I'm working with this data set where there is just one input(a date and time) per line in a .csv file. I've let Mathematica understand the input using "DateStringFormat". The time looks like ...
1
vote
1answer
47 views

2D plot using Manipulate command [closed]

Can anyone tell me what the problem is with the following code: y[x_ a_] := Sin[x (1 + a x)] Manipulate[Plot[y[x a], {x, 0, 6}], {a, 0, 2}] However, the ...
0
votes
1answer
56 views

Why empty plot (Dsolve solution)?

When I try to plot the DSolve output, I get empty plot. Here is the code ...
17
votes
4answers
654 views

How: 2D scatterplots with quantitative density-dependent coloring

Consider the following scatterplot of a 50K-point dataset: ...
0
votes
0answers
36 views

Force the Automatic BarLegend in a ContourPlot to show from -0.65 to 0

I am using ContourPlot to display a function. I have forced the ColorFunction to map between -0.65 to 0 however the automatic BarLegend is still scaled dynamically and I also want to force the ...
1
vote
1answer
55 views

Adding Disk to Parametric Plot Animation

I have a simple animation of a spacecraft being gravitationally deflected by Mars and wanted to be able to represent Mars as a red disk, but am having trouble doing this. Here is the code (where the ...
0
votes
1answer
94 views

Plotting level curves for 2-variable exponential equation (Lotka-Volterra) - how?

I have $$\frac{e^{(d x + b y)}}{x^c y^a}$$ Incidentally, this is the energy integral for Lotka-Volterra as given by my lecturer's notes. I would like to draw the level curves for this equation for ...
8
votes
2answers
530 views

Weird plot with SphericalPlot3D

Taking the equation $x^2-y^2-z^2=1$ and using ContourPlot3D: ContourPlot3D[ x^2 - y^2 - z^2 == 1, {x, -3, 3}, {y, -3, 3}, {z, -3, 3}] Yields the proper image. ...
3
votes
1answer
114 views
0
votes
0answers
28 views

Does a very large prefactor affect NIntegration time when plotting the result?

I'm using ListPlot[ NIntegrate[f[x,#],{x,a,b}]&/@Range[10,100] ] to plot the integral of the two variable function f as a ...
1
vote
1answer
52 views

Multiple styles in ExclusionsStyle [closed]

In my plot I have used an exclusion at the asymptote like this: Exclusions -> {x == -1}, ExclusionsStyle -> Dashing[Medium] The question is, how can I ...
2
votes
1answer
97 views

Numerically integrate and plot $f(x;p)$ for a range of the parameter $p$

Suppose we have an integral of the form $$I = \int_a^b dx \, \sin(px), \tag{1}$$ where I've take $f(x;p) = \sin (px)$ to be specific. I want to plot this integral for a range of values of the ...
1
vote
0answers
46 views

BarLegend can't make spaced contours when contours number>11

According to Document of BarLegend,BarLegend will select equally spaced contours: BarLegend[cf,contours] generates a legend that identifies color ranges from the color function cf based on the ...
2
votes
1answer
330 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 ...
0
votes
0answers
123 views

Speeding up ContourPlot?

I have a quite complicated function for ContourPlot and this takes long to plot. But if I insert a special value for the parameters I get the value of the function quite fast. So why does ContourPlot ...
11
votes
3answers
480 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
3answers
115 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 ...
1
vote
1answer
44 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 ...
3
votes
1answer
79 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 ...
2
votes
2answers
117 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 ...
2
votes
1answer
60 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 ...
6
votes
1answer
110 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. ...
0
votes
0answers
43 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: ...
0
votes
2answers
112 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
45 views
0
votes
1answer
30 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
47 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
1answer
43 views

LevelScheme Ticks hidden behind DensityPlot or SmoothDensityHistogram

I'm having a problem where the LevelScheme ticks are hidden by my SmoothDensityHistogram. In the above figure, I am sure that the ticks are there since you can ...
2
votes
2answers
80 views

Vertical rulings for a cylinder

I have: ...
0
votes
3answers
71 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 ...
3
votes
2answers
121 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 ...
3
votes
0answers
81 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 ...
4
votes
1answer
145 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 ...
0
votes
0answers
85 views

Solve Implicit Equations with Parametric Constraint

I have a set of parameterized equations that I want to solve and plot, while constraining them by an additional parameter. Specifically, I have two functions, ...
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
47 views

ListlogLogPlot can't work on y axis

I have a table: ...
0
votes
0answers
66 views

Using Manipulate to determine intersection of two surfaces

Here is what I have done thus far: ...
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
90 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 ...
3
votes
1answer
64 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
85 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
94 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
65 views

How can I connect a curve to a point by a straight line?

I have a curve in space, already plotted: ...