# Questions tagged [plotting]

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

2,178 questions
Filter by
Sorted by
Tagged with
2answers
374 views

...
1answer
306 views

### Extracting the contour lines from an image [duplicate]

The Image presented is created by Mathematica ListPLot. It's a list of points out of a 512x512 grid, which meets criteria. I would like to be able to identify the ...
2answers
370 views

### Manipulating a damped oscillator plot - plot does not show

I was trying to make an oscillation plot that could be manipulated depending on the value of $\beta$. The differential equation is below, and when I just plot the solution, it turns out to be the ...
1answer
125 views

### How to plot data as (X,Y) points with error bars on Y [closed]

I know I need to use ErrorListPlot and a list with elements of the form {{x,y},ErrorBar[e]}. I have x,y,and e all as lists, but I can't figure out how to get a list of of the form... {ErrorBar[e1],...
2answers
666 views

### How to display results of NDSolve

I am solving differential equation of second order ...
0answers
52 views

### ListPointPlot3D small and large values [duplicate]

I am using ListPointPlot3D for visualizing the difference between two functions. The difference sometimes can be really small on the order of 10^-50 or smaller. There is cut-off where I can not see ...
1answer
157 views

### Intersection of volumes defined by inequalities

I have 5 inequalities with some parameters like dh, din and thetawhich I intend to vary. In ...
1answer
72 views

### Model for log-inear data

I am trying to fit the following data with y axis on a log scale. I used the following model to fit the data but without success. Can anyone help me suggest a proper model? ...
2answers
222 views

### NDSolve ensemble of initial points

I want to illustrate how the differential equation depends on the initial conditions. First if all differential equations: ...
1answer
2k views

### Labels for each curve on a multi-curve plot using an efficient method(without writing a large code) [duplicate]

I have a question on plot labeling in Mathematica. I have y = 4 x / L + 2 where L = {10, 20, 30, 40} I want to draw a ...
1answer
237 views

### What is wrong with ContourPlot [duplicate]

Why does this plot have a big blank hole in it? ...
1answer
87 views

### ListPlot connection problem

I'm having a problem to plot a finite element solution. I have one array of orinal coordinates and an array with the new coordinates that I want to compare to the original array. The problem occurs ...
1answer
74 views

### Graphing two equations simultaneously [closed]

I'm trying to graph these two equations on one graph, but I keep getting errors. $S(p) = −800 + 50 p$ and $D(p) = 1900−40p$ I know that these are pretty basic questions, but please bear with ...
1answer
443 views

### ParametricPlot3D etc. with parameters satisfying an implicit relation

I need some help on plotting the curve generated by a vector, given its three components as a function of two parameters, e.g. s1 and s2, whose range are known, and they have to satisfy a given ...
1answer
845 views

### Combine Plots into a single non-rasterized Graphic with no spacing [duplicate]

Suppose that I have two plots, pl1 and pl2: ...
0answers
742 views

### contour plot (cartesian) using spherical coordinates postions

Let´s say that I have a data in the following configuration: { Lat, Long,distance, energy}-> lat, long -> galactic coordinates, distance unit - parsecs (3.2 ly) energy unit- ergs. I need to plot ...
1answer
2k views

### Plotting a piecewise function [closed]

I'm having trouble plotting the piecewise function below. The only way I can replicate this function is using ...
1answer
82 views

### How to build one data from other data ListLinePlot

I want to build: ListLinePlot[{en, v1} // Transpose] I want: but the third plot is a problem: ...
1answer
2k views

### How to plot 2D plot against two functions [closed]

I need to Plot two functions one is on x-axis and second on y-axis, both function have common variable $x$. The two functions are ...
1answer
316 views

### Plotting a function with insight to a special plot

I draw this plot: Plot3D[Sin[x] Cos[y], {x, 0, 4 \[Pi]}, {y, 0, 4 \[Pi]}] the default setting of Mathematica 10. results in the below plot: At the first I don't ...
1answer
81 views

### How can I show constraints on parameters in 3D plot? [closed]

How can I exclude a region in a 3D plot? I have done it for a Density plot, but for the 3D case, it seems difficult to exclude a region (with a certain relation between two main parameters). In fact,...
2answers
1k views

### Change the colour scheme in DensityPlots to make the zero white

We are trying to plot a density plot using the TemperetarueMap colour scheme. However, we don't seem to be able to make the white colour correspond to the value zero of the function we are plotting. ...
1answer
104 views

### how to generate vertical scale on both sides of the plot? [closed]

Usually on a plot the vertical scale is on the left, and the horizontal scale is on the bottom. How to make the vertical scale appear on both left and right, and similarly the horizontal scale on both ...
0answers
215 views

### Numerical solution to PDE using the shooting method and plot.

This is related to: Numerical solution of PDE using the Shooting Method; implementation and errors which I asked earlier today. I realised what I did wrong, I fixed it, but I still get errors. This ...
1answer
210 views

### Colors on a 3D curve not working

I'm having troubles applying colors to a simple 3D curve plot. Here's the code : ...
1answer
699 views

### Plot 3D with conditions and variables dependent on each other

I m trying to do something like this: ...
1answer
115 views

### Help with debugging my code [closed]

In order to descrive the multifractal behaviour of a set, Baumann provides a code based on the functions Dq and Tau, given below. ...
2answers
353 views

### Combining graphics & lists / tables

I have: created with: ...
2answers
157 views

### Strange behavior of Plot over a domain containing very large x-values

When I plot a function of (1 + 1/n)^n,There you can see: Plot[{(1 + 1/n)^n, E}, {n, 1, 10^13}] When I add a option of ...
0answers
258 views

### Plot in cylindrical coordinates [duplicate]

I am trying to plot a simple vortex in cylindrical coordinates give by $v_{\phi} = \frac{\Gamma}{2 \pi r}$ Is there an alternative method to plot this than, for example, using streamplot and ...
2answers
347 views

### Edit plot after creation [duplicate]

I try to find a way to manipulate a plot I created before. (for full code take the fuction x[t_]:=Sin[2t] ) Let's say I have a plot: ...
1answer
822 views

### plot a surface using plot3d etc within a sphere

I recently need to plot a 3d function that satisfies certain constraints, like x^2+y^2+z^2<=1 or things similar. So I wonder how to plot the part that only ...
1answer
49 views

### How to plot this system of equations? [closed]

How to plot this system of equations? This do not work:
1answer
356 views

### How to plot volumes with Plot3D?

A solid lies between planes perpendicular to the​ y-axis at $y=0$ and $y=1$. The​ cross-sections perpendicular to the​ x-axis are circular disks with diameters running from the​ $y=1$ to the parabola \$...
1answer
3k views

### How to I display the value of my plot function?

I've plotted a function that varies with respect to time. It's inside a manipulate box, which can vary the time. And I'd like to display the value of the function at the time on the slider on my plot. ...
2answers
107 views

### Can't run For loop containg NDSolve and Plot

I easily can solve a delayed differential equation and plot it using the following commands: ...
3answers
157 views

### Saving many plots in files [duplicate]

I made a table of ten plots: Table[Plot[u[t, x] /. wws, {x, -10, 10}], {t, 0, 10, 1}] I want to save them all to my file system. I know, that I can save each ...
1answer
432 views

### Maclaurin series [closed]

Can someone tells me, why is that not working? I'm starting to learn Mathematica. I have to solved this eq and draw the graph. It is developing a series of Taylor in about x0 = 0. ...
1answer
248 views

### 4-dimensional Lotka-Volterra plot

I was referring to the question I posted earlier in Mathematics forum, but then I came to see this example on Wikipedia. How did they plot the system in phase space? The closet relevant topic I have ...
3answers
2k views

### Plotting function with Dynamic parameter

I'm trying to get this code working: a = 2; func[t_] := Dynamic[t + a]; Plot[func[t], {t, -5, 5}] The idea is: I'd like to have the dynamic parameter a change ...
1answer
4k views

### How to Plot inside a Do loop? [duplicate]

Why does this not give me any plots? It should give five plots. Do[Plot[x^n, {x, 1, 2}], {n, -2, 2}] If I remove the Plot ...
1answer
184 views

### Setting plot size within vector; dynamic slider (two part question)

I have a question about the size of a plot in mathematica. I'm working on some differential equations (a simplified model of heat transfer in a building). I've programmed it so that you can set ...
1answer
237 views

### Smooth region boundary

I have a 2D region that is defined by the union of a number of polygons (the list of the polygons is available here). I can easily visualize the region using ...
2answers
97 views

### Accumulate 2D points that have the same first component [duplicate]

I have a list of points: points={{3, 0}, {3, 9}, {4, 2}, {5, 5}, {6, 9}, {6, 6}, {6, 1}, {7, 7}, {8,0}, {8, 10}}; And as you can see on the plot, there are some ...
2answers
461 views

### Multiple plots with insets within Show [duplicate]

I wonder why I cannot see the second inset by using this code ...
1answer
1k views

### Plotting the tangent of a curve [duplicate]

I'm new to Mathematica and this is probably child's play for most people, but I wanted to know how to plot the tangent of the function below at the point e=1/4 : <...
1answer
234 views

### Dashed 3D plot: dashes run together

When I use the Dashed option in my 3D parametric plot, the dashing looks very muddy and the dashes are running together. For example, I plot the below code, right ...
1answer
83 views

### Finding surface fit on 3D graph that have different data length

I have a question to find the surface plot on the list of data with different data length. Each of the sample a different length, how can I combine all these data and find the best fit surface for ...
1answer
567 views

### ListDensityPlot with discrete bins [duplicate]

We consider a table of the form data = Flatten[Table[{i,j,f[i,j]},{i,1,ni},{j,1,nj}],1] The function f[i_,j_] has been made ...
1answer
542 views

### Plot table versus table [duplicate]

I have two tables like: nex1 = Table[l3*10^3/4*10^14, {l3, 1, 30, 1}]; nex2= Table[l4, {l4, 1, 30, 1}]; How can I plot nex1 versus nex2 so that nex1 is x axis ...