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

learn more… | top users | synonyms (5)

3
votes
1answer
127 views

Transforming a region obtained with RegionPlot

I have a region r0, obtained from an interpolated function, with the use of RegionPlot. Let's call this function under the ...
1
vote
0answers
61 views

Arrange order of evaluations (please help these unit vectors)

I need help to control order of evaluations. Here I try to use Manipulate to control n unit vectors. Their positions are initially random but head left. The 2 operations are 1) translation: moving ...
3
votes
3answers
121 views

Plot closed surface with ListPlot3D

I have some points in 3D space that I want to plot as a closed surface. My data is at the bottom of this post. I tried with ListPlot3D but I got something I don't ...
0
votes
3answers
71 views

Plotting complex function

(9 Tanh[x]^8 (1 - 2 Tanh[x]^2)^2 (1 - Tanh[x]^2))/(1 + 3 I Sqrt[2/13])^2 How can I plot the function with the range of x {-10,10}?
0
votes
1answer
55 views
1
vote
1answer
59 views

Van der Waals Isotherms [closed]

I have the following code: ...
10
votes
2answers
136 views
3
votes
1answer
91 views

FindShortestTour 3D data

I would like to plot a line in 3D with the following set of (x,y,z) data points: ...
0
votes
0answers
31 views

Narrow a Drawing Tools Window

I used the Graphics->New Graphic, then the Drawing Tools to create this in my notebook. Now, you can see that there is wasted whitespace above and below my line. I tried dragging all the sides and ...
6
votes
1answer
62 views

How to plot the zero set of certain functions?

I'm working with functions that look like $$P(z,w)=\sum_{|i|+|j|\leq n}c_{ij}\cdot z^i w^j.$$ Where the exponents $i,j\in\mathbb{Z}$ and $c_{ij}\in\mathbb{R}$. I'm interested in plotting the image of ...
1
vote
1answer
51 views

Remove overlapping axis labels in orthographic view

I tried: ...
22
votes
2answers
1k views

Trying to Visualize a Collatz - The Collatz conjecture

So I'm new in this and learning--- and I happen to have this collatz collatz[x_, y_] := If[x == 3*y || x == 2*y + 1 || y == 3*x || y == 2*x + 2, 2, 0] So i want ...
13
votes
1answer
413 views

Mathematica: 3D plot based on combined 2D graphs

I have several sigmoidal fits to 3 different datasets, with mean fit predictions plus the 95% confidence limits (not symmetrical around the mean) and the actual data. I would now like to show these ...
1
vote
0answers
47 views

Learning mathematica, ListPlot [closed]

I am trying to teach my self Mathematica. I am working with the following example: ...
4
votes
1answer
98 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
65 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
92 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
49 views
1
vote
0answers
72 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
102 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$ ...
0
votes
1answer
86 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
51 views

Why empty plot (Dsolve solution)?

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

How: 2D scatterplots with quantitative density-dependent coloring

Consider the following scatterplot of a 50K-point dataset: ...
0
votes
0answers
35 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
47 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
84 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
509 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
107 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
49 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
88 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
41 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
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 ...
0
votes
0answers
121 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
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
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 ...
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 ...
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 ...
2
votes
2answers
113 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
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 ...
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. ...
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: ...
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
42 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
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: ...