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

learn more… | top users | synonyms (11)

1
vote
1answer
79 views

Introducing dashing to distinguish curves in a multiple curve plot

To combine in 1 plot data with 2 scales, I use the following solution: ...
2
votes
1answer
175 views

How to visualize multiple errorbars for one data set with ErrorListPlot?

I have a following problem: I am performing error analysis for my data set using multiple technics. Obviously, at the end of my analysis I want to compare the errorbars plotting them on the same ...
-2
votes
2answers
67 views

How to plot relation in mathematica? [closed]

How to plot relation here? I want to plot -arctan(sin(x))*(x)+ arctan(sin(x))*(y)=sin[arctan(sin(x))*(y)+ arctan(sin(x))*(x)]
5
votes
1answer
244 views

How can I add a mesh over this?

How can I add a mesh over the following 3D plot? ...
3
votes
2answers
169 views

Easier way to save images? [duplicate]

I seek to save my plots without having to save them one at a time. To give you an idea of what I am working with. I am dealing with the eigenbasis of a 50 by 50 tridiagonal matrix. I have plotted each ...
0
votes
1answer
144 views

Plot legends not displaying correctly

I'm having an issue with a notebook I'm running. I'm generating a bunch of plots, but the legends aren't showing up correctly. I generate a bunch of plots every time I run the program so I wrote a ...
1
vote
1answer
201 views

Plotting (x^3 - x^2)^(1/3) gives unexpected results [duplicate]

I have a function g[x_] := (x^3 - x^2)^(1/3) that I want to plot. The plot I am getting gives me strange results. There is nothing plotted for ...
0
votes
1answer
279 views

how to do VectorPlot?

I have a problem with VectorPlot for spin current density and I tried it my self but not working. Here is the code according to Jens solution: ...
2
votes
2answers
88 views

Range of plot function does not accept Dynamic output [duplicate]

Below is some code to produce a Fourier series. I want to be able to adjust L to change not only the function, but also the plot limits. I am getting the error : ...
0
votes
0answers
42 views

Compare different speeds of parametrizations in same animation box

I recently taught my calculus III students about arclength parametrizations, and I wanted to show them the different parametrizations in action, but in Mathematica, there seems to be a default speed ...
8
votes
3answers
398 views

Shading a region where an inequality is satisfied

I'm creating solution sets for a calculus course and need to shade the region in $\mathbb R^2$ such that $x^2 < y < x^4$. This is what I have so far: ...
2
votes
1answer
74 views

Plot a function with respect to two parameters that are not explicitly function parameters

$$function = |\delta|\frac{I_1(\kappa)}{I_0(\kappa)}$$ where $I_0(\kappa)$ and $I_1(\kappa)$ are the modified bessel functions of the first kind of order $0$ and $1$ I want to plot the function in ...
6
votes
1answer
116 views

Plotting piecewise functions with distinct colors - issue found [duplicate]

I've been making use of the following thread: Plotting piecewise function with distinct colors in each section A handy feature I found there goes as follows: ...
1
vote
1answer
77 views

Plot column using some list as x values? [closed]

I've got a mathematica notebook that uses RK4 to successively approximate solutions to a vector valued DE. The output is a nested list similar to: ...
0
votes
2answers
92 views

Please, help to find the area enclosed by the curves: ContourPlot[{x + y^2 == 0, x + 3 y^2 - 2 == 0}, {x, -2, 2}, {y, -2, 2}]

Please, Help to find the area between two curves. ContourPlot[{x + y^2 == 0, x + 3 y^2 - 2 == 0}, {x, -2, 2}, {y, -2, 2}]
2
votes
2answers
172 views

Strange behavior in ContourPlot?

I'm have a Abel's differential equation: ...
1
vote
1answer
86 views

Color vectors according to a user-defined function

V[x_,z_]:=x/Sqrt[x^2+z^2]; Ex[x_,z_]=-D[V[x,z],x]; Ez[x_,z_]=-D[V[x,z],z]; The electric field components (Ex,Ez) are to be plotted as a vector field in the x-z ...
1
vote
3answers
98 views

DensityPlot is wrong

DensityPlot[( ArcCot[(2 y)/(1 - 2 x)] + ArcCot[(2 y)/(1 + 2 x)])/1, {x, -10, 10}, {y, 0, 10}] What it should look like: What it looks like:
2
votes
1answer
70 views
0
votes
1answer
506 views

Switch x and y axis data in Mathematica? [closed]

I have data in the following format: {{1, 100}, {2, 200}}. When I try to plot it with following code: ...
1
vote
2answers
76 views

How do I animate just one variable out of three inside Manipulate/Not show line until Animate?

1) In the following code, I want to Animate just the Elapsed Time (t) variable. How do I write an ...
1
vote
1answer
120 views

Plotting the exponential of 1/(y-x)

What is the best way to handle this situation? ...
1
vote
1answer
101 views

Multiple interactive adjusters for multiple parameters including locator

I want to make a program that allows to vary multiple parameters via multiple adjusters. It may well be that this question has been answered already somewhere. However, I am pretty new to programming ...
0
votes
1answer
121 views

Plotting Solution Curves in a Vector Field

I am having trouble trying to plot solution curves onto a vector field for this certain ODE. I have tried plotting with multiple different initial conditions/ different constants however I keep ...
2
votes
1answer
122 views

How do I get the ball to stop when it hits the ground?

1) I would like the graph to stop when the ball hits the ground (y=o). I have declared xmax, but have not been able to incorporate it into my code. 2) I would also like to include animate, where for ...
1
vote
1answer
58 views

Streamplot in one direction

R gives explicitly the seeding points and I want the stream lines to be drawn in one direction only, outside the circle ...
1
vote
2answers
107 views

Plot Text Data in Mathematica

I am trying to analyze some text data for my thesis! How can I plot this data in Mathematica in a barplot based on the frequency of the words and combinations of them? On the Abscissa (...
1
vote
2answers
128 views

How can I illustrate the solution space of these equations in 3D?

I would like to plot the solution space $\{\theta,\varphi,\Omega\}$ of this vector equation, $$\begin{pmatrix} \sin (\theta ) \sin (\varphi ) \sin (2 \pi \Omega )-\sin (2 \theta ) \cos (\varphi ) ...
0
votes
1answer
42 views

Filling option failing when used with ListLogLinearPlot

As mentioned in this question the following filling seems to work well. ...
1
vote
1answer
84 views

ListPlot3D and plotting a 3 dimensional array [closed]

I have a 3D array of the form: {{{a1,a2,a3},{b1,b2,b3}...}}} and ListPlot3D only accepts data of form: ...
2
votes
3answers
490 views

Plotting a Bifurcation diagram

I have the following system equation v'(t)=2*G*J1[v(t-τ)]cos(w*τ)-v(t) How do you plot the bifurcation diagram, τ in the x ...
9
votes
1answer
133 views

Filling option failing when ListLinePlot given my data

Context I want to do Filled plot such as: ...
0
votes
0answers
39 views

Paramtric plot for 3 variable system

I have an system where I have calculated migration of "i" number of species "c" in "j" different habitats as a function of time. ...
2
votes
1answer
103 views

Line function doesn't work [closed]

I want to draw a vertical line like this: a = 10^(1/0.0015); Line[{{a, -5}, {a, -3}}] But there is an error:
0
votes
0answers
49 views

Find and label all minima below a certain value in a ListLinePlot

Im trying to find a nice and automated way to plot infrared spectroscopy data sets like this one with the traditional IR-style inverted x-axis: ... 639.000000 85.468113 638.000000 85.626116 ...
0
votes
2answers
55 views

RegionPlot empty when equation is returned from Solve [closed]

I have two concentric cones, one slightly bigger than the other and I want to plot their conic sections in 2D intersecting them with the same plane. I want to plot the contour of the inner conic and ...
1
vote
2answers
139 views

Plots of Bipolar Coordinates

Can you please tell me how it is done. $t$ parameter lines should be barely visible, $a$ lines should be thick, so one can readily see orthogonality (perpendicular cutting) of $a$ curves in combined ...
3
votes
2answers
87 views

Changing the axis ticks of a LogLogPlot

According to the Documentation LogLogPlot effectively generates a curve in which Log[f] is plotted against ...
2
votes
2answers
446 views

Plot Lorenz system

I solved the Lorenz system by using Euler forward method (without using NDSolve). But I am not getting the attractor. The Mathematica code is as follows ...
0
votes
1answer
71 views

Creating confidence interval plots for random graphs

I have the following code where I create instances of random graphs and use their properties to compute the mean of a quantity labeled 'PoA'. In the last line, I use a range of values for the ...
-2
votes
1answer
63 views

Again, my plots are not displaying [closed]

I am very new to Mathematica and I am having an issue with plots not displaying. i am using Mathematica 10 student edition. As per a previous post, I restarted the kernel, but that didn't seem to ...
1
vote
1answer
51 views

Plotting the intersections between two functions [closed]

I am trying to use the code below to plot intersections on the graph between the two functions, but I receive an error regarding stating it must be a pure function or list of pure functions. I am ...
3
votes
0answers
36 views

Need help filtering mesh spurious points [duplicate]

My only goal is to plot the x-intercepts and display their coordinates; however, there is an additional point being added to the first quadrant and the y-value for point a is not zero. How and why? ...
0
votes
1answer
61 views

Graphing a plane [closed]

I am trying to figure out how to graph a plane in Mathematica. This is what I am trying to graph, but nothing seems to show up in the output -- just an empty box. I've tried adjusting a lot of stuff ...
7
votes
2answers
408 views

Plotting 2-D Electron Density Carbon Atoms

I need to create a 2-D electron energy density plot in Mathematica to compare with my STM experimental results in my lab class. This would be done by plotting the sum of the symmetric and ...
2
votes
1answer
85 views

Problems with multidimensional system of ODEs

I am trying to look at the migration of "i" number of species "c" in "10" number of habitats {designated as "j"} and to study their population size as a function of time "t". I have this following ...
3
votes
2answers
182 views

Decreasing computation time for numerical plot

My code is as follows: ...
2
votes
1answer
50 views

Determining Automatic Parameters used by Mathematica [duplicate]

When you use plotting functions like ContourPlot3D, there are lots of parameters that are left as Automatic if you do not ...
0
votes
1answer
82 views

How to plot many 3D lines together

Here is a small data sample: ...
2
votes
1answer
79 views

Issue plotting/re-creating 3d function

I am trying to re-create images created in Mathematica using the equations in the photos attached. I was able to somewhat plot the Equation 6 (Cartesian coordinates) Figure 4 using this code ...