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
39 views

Extra restrictions in best response functions using Manipulate[ ]?

I have two best response functions that I have defined like this: ...
0
votes
0answers
42 views

How to find Graphics coordinates in 3D Plot in Mathematica 9

I can't reproduce the steps as in the link to get coordinate points in a 3D Plot or Graphics in version 9 because with the mouse pointer I can by default only rotate/scale/shift the 3D Plot (also ...
0
votes
0answers
44 views

min and max in Ticks determination

I wonder, how Mathematica determines the values that it sends to custom tick functions, ie. the minimum and the maximum on the axes? Here is an example: ...
2
votes
1answer
65 views
4
votes
2answers
163 views

Plotting the sum of curves without recalculation

I want to plot several curves of functions which are hard to calculate on the same plot. I would like to add to the same plot the sum of these functions without recalculating them twice at each point. ...
0
votes
0answers
29 views

opening and closing a new notebook

This work perfectly CreateDocument[{TextCell[ Manipulate[Plot[Sin[a x + b], {x, 0, 7}], {a, 1, 4}, {b, 0, 10}], "Output"]}] but if I want to change say 7 for ...
4
votes
2answers
165 views
5
votes
1answer
122 views

How can I get the interpolation line from Listplot?

My discrete data is: data={{1., 5827.}, {3., 6242.}, {15., 6066.}, {60., 5972.}} I want to get the interpolation line from ListPlot: ...
0
votes
1answer
84 views

Concerning the default coloring made by Plot3D in 10.4 [closed]

Recently, I have installed Mathmatica 10.4, but I found out that when I use Plot3D, it gives me a mesh. In order to add color, I have to explicitly set ...
6
votes
3answers
386 views

Integrate to calculate enclosed area

I am trying to 'use an integral in polar coordinates to calculate the area enclosed by this curve': The curve is: r=sin2θ, θ ∈ [0, π] which I believe is already in ...
1
vote
0answers
46 views

Region traced by the endpoints of all vectors given by a parametric expression

I have the expression of a vector e, with 3 parameters tt1 tt2 and tt3: ...
0
votes
1answer
33 views

How to increase the size of fonts and tick marks and numbers in plotting a contour plot in Mathematica 8.0?

I have some function of two variables, $x$ and $y$, and I would like to plot $x$ vs. $y$ parameter space probability distribution function in which the contours are represented by ...
3
votes
2answers
103 views

Evaluating Functions on Zero Sets (of other functions)

I have a highly non-trivial function, call it $f(x,y)$, in which I want to look at its zero set in the $(x,y)$ plane, and plot/evaluate a different function $g$ precisely along this zero set. I have ...
0
votes
1answer
29 views

Trying to plot predefined function list, PlotLegends option fails using legend list

I am trying to predefine the functions I want to plot. A minimal example of what I am trying to achieve looks like this: ...
1
vote
1answer
144 views

Plotting Phase Diagram

I have the following problem that I'm sure Mathematica can handle, but it's not working for me! In the following code, I'm trying to replicate the Ramsey Model Phase Diagram. In fact, I want now ...
2
votes
1answer
63 views

Higher functional programming partial substitution

This h[g_, x_] := g[x] h[Sqrt, x^2] works obviously as well as : f[x_]:= x^2 h[f,x] but if ...
1
vote
0answers
88 views

“Kriging” plot method? [closed]

What does "Kriging" method for plotting do? Could someone show an example? Has it anything to do with the geostatistical interpolation method (Wiener-Kolmogorov prediction)? I bumped into it here and ...
2
votes
1answer
39 views

Limit Relief plot output to specified X and y range

I have a table of values and I'd like to use ReliefPlot to visualise. Is it possible through the plot command to limit the $x,y$ range displayed? The help suggests ...
2
votes
0answers
48 views

ImageSize not working correctly with Legends and Placed directives

It seems that having Placed inside Plot breaks the ImageSize specification: ...
-1
votes
2answers
38 views
2
votes
1answer
64 views

ListPlot of auto-correlation function pushes data 1 lag

I'm trying to plot a graph of a sample autocorrelation function at different lags. The code I'm using is ...
3
votes
2answers
112 views

How to plot a volume for triple enclosed by surfaces

My main issue (multivariate calculus), I want to plot the body made within the surfaces y + z = 4, y = 4 - x^2, ...
2
votes
1answer
84 views

How can I get dynamic control over the domain of a contour plot? [closed]

I am trying to plot a specified contour of my function of two variables. I call ContourPlot with my function as follows: ...
1
vote
1answer
87 views

Automatically generate and manipulate variables in Mathematica

First line is just loading data from a txt.file, so that i get two lists {f1,f2,f3,..},{laser1,laser2,laser3,..}. How can I do the same thing as above in just one line? i.e. I have a list of laser ...
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
126 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
141 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
78 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
68 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
40 views

Manipulate axis scale on a ListPlot

Use this code to generate my problem ...
1
vote
3answers
100 views
1
vote
1answer
68 views
1
vote
2answers
85 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