Tagged Questions

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

learn more… | top users | synonyms (4)

0
votes
0answers
10 views

How to make plots of solutions persist

First let me state my ultimate goal: create an EnterpriseCDF to mimic John Polking's dfield and pplane Java Applets (http://math.rice.edu/~dfield/dfpp.html). Having siad this, my first step is to ...
2
votes
2answers
43 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 ...
3
votes
2answers
83 views
12
votes
3answers
562 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 ...
1
vote
1answer
79 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 ...
0
votes
0answers
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 ...
0
votes
1answer
42 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
0
votes
0answers
30 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 ...
3
votes
2answers
121 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 ...
1
vote
1answer
33 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 ...
2
votes
0answers
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: ...
2
votes
1answer
52 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] ...
1
vote
0answers
68 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 ...
3
votes
2answers
74 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, ...
0
votes
1answer
88 views

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

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"] ...
0
votes
1answer
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 ...
-2
votes
0answers
51 views

how to find the function of a plot that I draw with ContourPlot [on hold]

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 ...
4
votes
0answers
45 views

How to obtain transparent animated gif via Export?

I have the following code to create animated GIFs: ...
-2
votes
1answer
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.
0
votes
0answers
48 views

Plotting A Function Using A Given Number Of Points [on hold]

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 ...
0
votes
2answers
51 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 ...
-2
votes
0answers
23 views

How to define a function with more than one equation in? [on hold]

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?
0
votes
2answers
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 ...
0
votes
0answers
34 views

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

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.
0
votes
1answer
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 ...
2
votes
1answer
32 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, ...
3
votes
3answers
152 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 ...
0
votes
2answers
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 , ...
0
votes
2answers
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, ...
1
vote
2answers
64 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: ...
0
votes
0answers
40 views

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

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 ...
0
votes
1answer
61 views

Plotting and Analysing derivatives of solution of differential equation [on hold]

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 ...
1
vote
2answers
90 views
1
vote
1answer
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 ...
2
votes
1answer
120 views

Want a different color for each curve displayed with Show

I want a different color for each curve that I am displaying with Show. The functions are: custom1 custom2 custom3 custom4 custom5, and I am using the following ...
0
votes
2answers
65 views

Some parts of curves are being cut off by the frame in my multiple curve plot

I am trying to plot several curves and show them in the same figure, but parts of curves being cut off by the frame and not showing fully. I am using the commands ...
0
votes
0answers
46 views

Scaling ParametricPlot

How can I scale the plot obtained by ParametricPlot nicely in the following case? ...
0
votes
0answers
24 views

Calculate number of probabilities [migrated]

I want to calculate a number of probabilities of a+b+c=1 For a vary from 0 to 1 with an incrementing of 0.1 For ...
0
votes
1answer
32 views

Combining two SmoothHistogram plots without normalization of each

I'm trying to plot a density of states out of a list of energy values, and on it I want to include another over-layed plot with it that shows some fraction of that density of states at different ...
0
votes
0answers
29 views

Getting rid of white trim around a plot from ListDensityPlot [closed]

Ok, so a continuation of removing the black lines. I am close to what I want. Now however there is a white trim around the edge of the entire image. Aside from Screenshot clipping this image, is there ...
0
votes
1answer
41 views

Turning off black lines appearing in plots from the ContourPlot function [closed]

ContourPlot[Sin[6.5 x], {x, 0, 2 Pi}, {y, -1, 1}] The image turned out crappy, but basically, I do not want all the vertical black lines. I assume this is ...
3
votes
2answers
107 views

Plot a space curve and its curvature

The vector is < te^t, e^-t, Sqrt [2]t >, where -5 <= t <= 5 I have to plot the space curve and its curvature ...
1
vote
1answer
57 views

Unmapped white region in ContourPlot, PlotRange -> All does not fix the issue

When I try to create a ContourPlot of the magnitude of the following vector I get a white area that should be filled with values. Running the following code: ...
5
votes
2answers
82 views

Labelling a subset of contours using ListContourPlot

I have a data set with entries of the form [nx,ny,E] and have made a contour plot of this data. I would like to add labels to only a subset of these contours, for instance every other contour. How ...
-1
votes
0answers
60 views

Find intersections of great circles [duplicate]

I would like to plot out the intersections of great circles as dots. Here is the code to display the sphere with great circles (Original post http://mathematica.stackexchange.com/a/19350/193) ...
1
vote
1answer
32 views

Frame labels for Overlay of two plots to look like plot with two y-axes

I have a two time differential equations system: A[t] and B[t]. (I am omitting their specific form.) I would like to display the ...
2
votes
1answer
78 views

ListPlot with background image?

I need repetitive plots like this below. I invented that I refuse to use pen and I will plot the points in Mathematica, then change opacity, then change contrast and voula get the points to the graph ...
0
votes
0answers
17 views

Use intercepts to plot a plane [duplicate]

The plane is 6x -3y + 4z = 6 and I found the intercepts are: x = 1, y = -2, z = 3/2 I have to use Plot3D to plot the plane formed by these three points. How can I do that?
1
vote
2answers
67 views

Forcing Ticks on Lower Left Corner of Plot

I have a graph that looks like this: I need to have it labeled so that 14 appears in the lower left (I know it's obvious but that's what the publication I'm working with wants). That makes the ...