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

learn more… | top users | synonyms (11)

0
votes
1answer
193 views

Using data from NDSolve into a secondary equation

I have this ODE, f''''[y]+Z1*(6 f''[y]*f'''[y]*f'''[y]+3 f''[y]*f''[y]*f''''[y])- N1*N1*f''[y] == 0 subject to boundary conditions ...
3
votes
2answers
124 views

Expected area of random triangle

I want to check the following theorem by using Mathematica: $\textbf{Theorem} $. If three point $P,Q,R$ are picked independently at random in the triangle $ABC$, than expected value of the area of ...
-1
votes
1answer
66 views

Plotting a function of another function

Edit: So I have several functions which come from other functions. For example: ...
2
votes
3answers
160 views

Distance from point to line [duplicate]

I'm a newbie with Mathematica and I managed to draw a line and a point in 3D on a graph ...
-1
votes
1answer
84 views

How can i 2d-plot Cobb-Douglas function?

can I plot Cobb-Douglas function in 2D without using ContourPlot? I have this function: u[x1_, x2_] := Log[x1] + 2*Log[x2]; and now I plot it using: ...
0
votes
0answers
69 views

Plotting function described by other functions!

I want to plot and manipulate my VS function which comes from the other functions above it. So, what should I use in order to draw my function considering that it is described by other functions. I ...
3
votes
5answers
138 views

ListPlot with colors

Let's create some sample data n = 100; d00 = Table[{RandomReal[{-1, 1}], RandomReal[{-4, 4}], RandomReal[{-1, 1}]}, {i, 1, n}]; Now I want the following: create ...
2
votes
1answer
47 views

Translate Tick Marks

The code below creates a StreamPlot for a nonlinear system of first-order ODEs: $\dot{x}=y,\dot{y}=x+\tfrac{1}{4}x^{2}$ I have created a simple zoom slider that expands the region about the critical ...
1
vote
1answer
40 views

Plotting a data of protein diffusion trajectory [closed]

I have a set of data points of protein diffusion in x-y plane. They are sequential in time i.e, recorded at regular intervals of 20ms. Now, I need to plot a line plot in 2 dimensions, which connects ...
1
vote
2answers
77 views

How to Combine 3D graphics

I'm trying to put this solid S1 = RegionPlot3D[z - 50 <= -2 x^2 - 2 y^2, {x, -5, 5}, {y, -5, 5}, {z, 0, 50}] on top of this one ...
3
votes
1answer
116 views

Optimize a parametric matrix to get a lowest possible eigenvalue

This question is a followup of Plot the lowest eigenvalues of a parametric matrix Now I can get the lowest eigenvalue LowEign(t) of the matrix for a given t numerically. When I plot the LowEign ...
0
votes
2answers
64 views

Unable to plot function with exponentials or to find all roots [duplicate]

I am not able to Plot[(-1)^x + 2^x - 2 x - 1, {x, -4, 4}] directly. Some rework might be needed with complex branch cuts perhaps. There are real roots at $ x=3, ...
6
votes
1answer
86 views

Why I cannot change the AxesStyle of the Plot?

Bug introduced in 8 or earlier and persists through 10.4.1 I am trying to plot the following single variable function: $$\small\frac{180 \sqrt{\pi ^2-625 t} \left(\pi ^2 (36 t-25)-1500 t \left(45 ...
4
votes
3answers
176 views

Using different style on segments of a plot [duplicate]

Is it possible to plot a function with two different colors? To illustrate, let's have: Plot[Sin[x], {x, 0, 2 π}] which plots a curve. And I would like it to be ...
2
votes
1answer
61 views

Plot the lowest eigenvalues of a parametric matrix

The question here is somewhat related to the comments in Computing eigenvectors and eigenvalues I have a matrix M, say 400 by 400, and all elements depend explicitly on one parameter t in a ...
2
votes
0answers
67 views

Plotting huge amount of data with non-default colour function

I want to plot a huge amount of binary data (a 2700x2001 matrix, 5402700 points), and for that I am using the Graphics[Raster[]] function. With just that command, ...
0
votes
0answers
38 views

Manipulate axis scale on a ListPlot

Use this code to generate my problem ...
1
vote
3answers
99 views
1
vote
1answer
68 views
1
vote
2answers
84 views

Plot confidence interval around curve

I need to plot a confidence band around a curve in Mathematica, similarly to what done with r in the image below (from here). What is the best way to do it? My ...
1
vote
1answer
58 views

User-defined density plotting function with a functional argument: extracting variables from the function and plotting in a circular region

I would like to customize the function DensityPlot and use it in a package as a function called MyDensityPlot: The functions ...
0
votes
0answers
49 views

All Graphics3D commands crash

Recently updated from Mathematica 8.0 to 10.2 running on Windows 7 (8.0 was uninstalled before installing 10.2). Anytime a 3d graphics is rendered, the first rendering in a notebook is completely ...
4
votes
1answer
103 views
0
votes
0answers
59 views

How to calculate the slope in a data set plotted in ListPlot?

I am working with a large set of data that follows an exponential behaviour. My challenge is to create a function in Mathematica with these objectives: Retrieve the information from an Excel File ...
-3
votes
2answers
72 views

Plot of a function w.r.t x^2

I want to plot a function with respect to x^2 i.e., Plot[f(x),{x^2,0,1}], but mathematica is giving error. Suggestions please
6
votes
1answer
148 views

Constrain Locator to specified region

How can I constrain the locator to stay within the region defined by RegionPlot? When the Locator remains within the region, ...
0
votes
1answer
71 views

Nested Tables and List Plot

Take two matrices which depends on three parameters i1,i2 and i3 m1 = {{i1, 0, 0}, {0, i2, 0}, {0, 0, 0}} m2 = {{0, i1, 0}, {0, i2, 0}, {0, 0, i3}} I am using a ...
2
votes
1answer
66 views

How to enlarge a specific part of a graph using Plot Command? [duplicate]

How to enlarge the closed curves of any Graph and Show them in a separate Graph within the ...
6
votes
3answers
226 views

What's wrong with naming a rule?

Please have a look at the code below. The second Manipulate uses the name rl of the replacement rule given in the first line, ...
1
vote
2answers
74 views

Recreating a ContourPlot3D using points

Let's define a three-dimensional surface ...
-1
votes
1answer
38 views

rescaling X axis

I have a pretty simple code, working fine and producing a plot that is ALMOST what I desire: ...
1
vote
1answer
47 views

List of Inequalities in RegionPlot with different colors [duplicate]

Starting from the example of the Documentation: RegionPlot[{x^2 < y^3 + 1, y^2 < x^3 + 1}, {x, -2, 5}, {y, -2, 5}] Which gives a nice plot with two ...
3
votes
3answers
139 views

How to obtain the coordinates of the intersection line of two surfaces?

I can plot the intersection line of two surfaces $f$, $g$ by using: ...
0
votes
1answer
42 views

Plot for function that calculated direct with while, but is piecewise

For this question Use of {FOR, Do, If,Plot} that ..., I wrote this code: ...
1
vote
2answers
90 views

Plotting logistic maps

I have a question about plotting in Mathematica in general, and this particular recurrence relation as an example: $\qquad x _{n+1} = rx_{n}(1-x_{n})$ How can I plot the following plots as shown ...
2
votes
0answers
72 views

Complicated implicit plotting - can it be tackled?

I'm quite new to Mathematica and have already spent tons of time on problems of this type, browsing through tutorials and topics here. I'm now coming to conclusion that it cannot be done and am about ...
1
vote
1answer
81 views

Plotting a convex hull with a coordinate mesh

I am plotting the convex hull of some curves by extracting the curves from a contour plot and constructing the convex hull around their discretized version . It's not terribly accurate for ...
2
votes
1answer
113 views

Seeing coordinates in Graphics3D

I'm writing some structures built up from different strings that specify the coordinates of the lines. The code used to generate these is built up from a ton of user defined functions from my library, ...
-4
votes
1answer
62 views

what is wrong with this plotting code? [closed]

Heres the question: The region bounded by f(x) = x+2 and g(x) = sin(x) between x = 0 and x = Pi/2 i. Plot the region on the interval [0,Pi/2], between y = 0 and y = 4. ii. Find the area of the ...
1
vote
0answers
39 views

axis label problem

I have a contourplot with (Greek) omega on the y-axis and Q^2 (GeV^2) on the x-axis. When I do ...
0
votes
0answers
34 views

EPS Files + Too many points with ListPlot [duplicate]

So, basically, I have this ...
2
votes
2answers
68 views

Creating a custom ListPlot of consecutive points

Here comes some sample data ...
6
votes
2answers
120 views

Bar chart scale in multi-chart visualisation

This is a rewording of a previous question which probably wasn't very well explained, and so didn't get any responses(!). I'm trying to create a chart which shows the smooth kernel distribution of ...
3
votes
2answers
254 views

Extracting RGB color code from a plot

I have let Mathematica to draw a plot of some functions written as below: ...
3
votes
1answer
49 views

Change of parameters on ouput graph

I have generated the graph, but i lost the settings, i would like to make the Plotmarkers slightly bigger. Is there anything to do this without redoing the computation? Like ...
-1
votes
2answers
57 views

Plot a cone and a cylinder [closed]

I have to plot 0=x^2-2y+y^2 and z=sqrt(x^2+y^2) for a class project but Mathematica does not accept raw input, any ideas? I have tried with "cylinder" in the functions but it does not work.
0
votes
0answers
37 views

Curve moving on the torus [duplicate]

I'm trying to do parametric curve moving on the torus. Already have created sample torus : ...
-1
votes
1answer
63 views

moving of a material point on the surface - paraboloid spiral

I have to do project on my studies. I wanna place spiral in this shape. I'm stuck on this point: I have these details: z=4x^2+2y^2 spiral w= (0,0,0) spiral in up Do you have any ideas? Every ...
5
votes
3answers
305 views

Box plot combined with histogram and normal curve

Please forgive me if this is a relatively simple thing to do, but I'm relatively new to Mathematica and I've only recently started using it to visualise some statistics for my PhD work (I'm a linguist ...