# Tagged Questions

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

9 views

### Problem with DensityPlot Plot3d of Heavisde function

I have problem with heavisde pi or theta function. When I plot them densly i.e. w[x,y] like this ...
22 views

### How to combine several graphs in one? [on hold]

If I have table of for example 5 sets of points which form 5 curves, to plot all of them in the same graph I use this: ...
91 views

### Parametric contour plot?

I am trying to plot a contour of a function g(x,y) (in particular, the contour g(x,y)=1) on a different set of axes than (x,y): I want to plot it on (f1(x),f2(y)), where f1 and f2 are (monotone ...
45 views

### Can anyone help me to get the solution of this first order ODE?

$\ y'(x)=-sqrt(y(x)^3)$ with initial condition $\ y(0)=-2$. In fact, this is an example here in page 3-4 ...
36 views

### Align a plot with other rotated plot

i'm plotting two plots one of them is rotated 90º and has no axes labels, so my problem is that when i plot them together in a row the alignment options bottom top align the top to top or bottom to ...
54 views

### ColorFunction that depends on angle of line

I have a ListLinePlot, and I want the ColorFunction to vary as the angle, so that the color of the whole line depends on its angle from the x-axis. Here is a MWE of what I am doing: ...
62 views

### List(Line)Plot with a big jump

I am trying to plot a joined plot. Some possible ways would be ListPlot with Joined -> True or ...
49 views

### Multiple dynamic equations for plotting?

Say I have a bunch of equations between variables e.g. h=bcd, i=hce, j=ihbd, ...
57 views

### Help with the plot f(x)=2ln(-0.5x+2)-1 [on hold]

I don't know how to write equation in the notebook. The graph doesn't appear when I tried.
48 views

### How can I graph the polynomial function? [on hold]

There is no explanation for the polynomial function. The equation is f(x)=-2x^2-4x-3.
290 views

### How to write Morse code into Plot Dashing?

How can we define a dashing pattern in a plot such that it reads arbitrary text in Morse code? For instance Graphics[{DotDashed, Line[{{0, 0}, {5, 0}}]}] ...
65 views

### Make plots of solutions persist

How can the code below be modified so that at allow plots of solutions to persist upon clicking in the slope field. For example, after three clicks, the plots of all three solutions should remain. In ...
67 views

### Is plot polluting my context?

Whenever I plot something 3 temporary variables get added to my current context. Example (fresh Kernel): Plot[x, {x, -1, 1}]; Names["Global`*"] Output: ...
40 views

### The use of Evaluate in NDSolve and Plotting the answer [duplicate]

I am having a bit of hard time understanding the use of Evaluate when plotting the output of NDSolve. From the documentation, I enter: ...
98 views

### How to plot a function that is not defined after certain point

I'm plotting a function that I get after numerically integrating over another function. Something like: f[x_,y_]:=NIntegrate[g[x,y,z],{z,0,1}] I know that above ...
115 views

This code: ...
740 views

### Is it possible to draw really thin lines in Mathematica?

I want to have in Mathematica the same result I have in Python: I have this nice effect simply by using very thin lines. But it seems in Mathematica thickness property has some limit and i just got ...
84 views

### How to plot curves in ternary plot (triangular plot) [duplicate]

I need to plot the following curve in a triangular (ternary) plot: $$|x_{BB}-x_{AA}|=(\sigma_c-2x_{AB}+1)^{\gamma}, \qquad (1)$$ subjected to the condition (this condition must satisfy for a ternary ...
17 views

### Different color for plots inside manipulate object [duplicate]

I want to plot two functions in the same plot (meand and approxmean) with a different color. When I place the plot commands outside of the manipulate and grid region they are colored differently but ...
43 views

### I want to import a .csv to Mathematica but when I do that the decimal are denoted by “,”. What can I do? I need points [duplicate]

Import["C:\Users\Maria Del Mar\Desktop\LECCIÓN\masa a.csv", "table", FieldSeparators -> ";"] // TableForm
31 views

### Specify Frame pixel size in images [on hold]

I was wondering if there is a way to specify the Frame size of an image as opposed to using ImageSize? The issue is that we have several images we would like to ...
84 views

### How to simulate the 2-D motion of a particle under uniformly accelerated motion? [on hold]

I have the following data: ...
126 views

### How can I best plot timestamps by frequency-to-date?

I have a site called Sudomemo. I record when I first see a user in the database; and I've exported it in JSON format, located here. http://www.sudomemo.net/statistics/firstSeenDump.php I've done ...
36 views

### How to exclude a region from ParametricPlot

Suppose I have functions f[x] and g[x] which are defined in the region 0 ≤ x ≤ 1 and ...
85 views

### A counterintuitive RegionPlot behavior [on hold]

The region between a straight line and a hyperbola in the fourth quadrant is not shown by the RegionPlot: ...
54 views

### White region in ContourPlot

The following code ContourPlot[Min[(-7 + 100 t - x) (5 + 100 t - x), (400 t^2 + 40 t (-5 + x) + (-5 + x) (7 + x))], {t, 0, .05}, {x, -1, 5}, PlotRange -> All] ...
69 views

### Plotting knot torus

I'd like to plot together a torus and a knot on it, that is, closed curve wrapping around the torus, $m$ times around a circle and $n$ times around the other circle. It will be used to explain ...
77 views

### Label rows and columns of an ArrayPlot?

Is it possible to label the rows and columns of an ArrayPlot? I have a somewhat large matrix, about 90x90. The rows and columns of this matrix have names. I want to plot this matrix using ArrayPlot, ...
90 views

### How can I plot a large number of functions and use a “…” to signal more inbetween? [closed]

So I want to plot x+1, x+2, X+3,..., x+50 on a single figure. So I tried Plot[{x+1, x+2, x+3, ..., x+49, x+50}, {x, -5, 5}, PlotLegends -> "Expressions"] ...
45 views

### Plot a transformed distribution with an If function

Suppose I have a normal distribution $A \sim \mathcal{N}(\mu,\sigma^{2})$ with a known cutoff point (percentile) on this distribution called $c$. Based on this point the distribution needs to be ...
51 views

### how to find the function of a plot that I draw with ContourPlot [closed]

I draw a plot by the [ContourPlot][VAH[t, z] == 0, {z, .0001, 70}, {t, -10, 50}], and it gave me a line as I expected, now I want to have the function of the line, so I can do other calculation on ...
48 views

### How to obtain transparent animated gif via Export?

I have the following code to create animated GIFs: ...
45 views

### Graph Power Series

On the same axis, graph the function f(x) = e^x and its first 6 Taylor polynomials. Please tell me how to complete this. I have tried the plot function but it's not working.
48 views

### Plotting A Function Using A Given Number Of Points [closed]

i'm new to mathematica and am trying to figure out how I can plot something and specify the number of points on the plot. I want to plot the real root of an equation from a=0..1 using 500 points of ...
52 views

### Show legend on plot [duplicate]

I have a series of curve I'm plotting using ListPlot. For each plot I'm changing a variable called X. Is there anyway I could ...
23 views

### How to define a function with more than one equation in? [closed]

How do I define the first function where there are more than one equations in it with each with an inequality? And for the second question how do I graph the periodic extension, what is it?
87 views

### Help Please : Error in plotting the solutions of FindRoot

I want to find the roots of an equation using FindRoot as a function of a real parameter K and then plot the real and imaginary solutions vs. the parameter K. The function I'm trying to find the ...
35 views

### How to change the scale on the x axis using Plot? [closed]

I need to plot the function $f(x)$ on the $x/x_0$ scale, where $x_0$ is some constant. Is it possible to change the $x$ axis scale on the graph using the function Plot[f[x],{x, xmin, xmax}]? Thanks.
38 views

### Count intersections of two non-polynomial functions [duplicate]

I have two Bessel functions, and I need to be able to count the number of intersections if both functions are plotted dependent upon the same variable. I can use FindRoot or FindInstance to get one ...
33 views

### Plot several columns of table with variable number of columns and display the legend accordingly

I use this command to plot all values from the 1st column of Table "results" against all values from the 2nd column: ListLinePlot[{results[[All, {1, 2}]]} Now, ...
155 views

### How to detect outlier in data of an unknown function $f(x)$

Suppose I have an unknown function $f(x)$ that is monotonic, convex and nonlinear by definition. I somehow evaluated it at 1000 nonuniform $x$ points. By ploting these data, I found a very obvious ...
79 views

### manipulating the X axis notation in mathematica graph [duplicate]

I plotted a graph in mathematica that displays the function M/1480 = (4*Pi*G*r)/(3c^2) R^3 here , ...
45 views

### How to discern the different curves?

When we plot many curves, due to repeated colors it becomes difficult to discern that which curve belongs to which equation. For instance, ...
67 views

### How to create an effective PlotLegend when plotting many ListPlots?

I'm creating a ListPlot where I plot many data sets simultaneously. Currently, my code that produces it is something like this: ...
40 views

### I have the best fit, How can wiggle a plane between the max and min errors [closed]

I have a table representing 3 dimensional data, I have found the plane of best fit but I now want to move the plane of best fit through the maximum and minimum error and display the planes current RSS ...
61 views

### Plotting and Analysing derivatives of solution of differential equation [closed]

Using NDSolve I found the solution for the differential equation that governs the dynamics of a simple pendulum. How do I plot the derivatives of the solution? Also, I would like to find the ...
90 views

### How to use ParametricPlot and fill closed areas with blue and red?

The current code is : ...
68 views

### “Independent” Variables in Manipulate

I am trying to plot the solutions to the Kepler problem. I am using Manipulate. It plots the orbits, the equipotential lines and the position of the planet. When I move the time variable, only the ...