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

learn more… | top users | synonyms (11)

10
votes
2answers
725 views

Why is Mathematica destroying this graph?

Here I have a picture of a function I graphed: reg[x_,y_]:=(x^2+y^2)Cos[4ArcTan[y/x]]; Plot3D[reg[x,y],{x,-2,2},{y,-2,2},AxesLabel->Automatic] And here is ...
3
votes
1answer
59 views

Plot option Filling conflicts with option PlotLabels

The regulars here discuss approaches to numerically unstable systems of higher-order PDEs, and I cannot even paint by numbers … (sigh) A Plot[] of simple curves with ...
1
vote
0answers
42 views

Grid of plots - alignment [duplicate]

I'm trying to plot several plots and graphics into Grid, but I have no success with proper alignment. Here is my code: ...
1
vote
0answers
44 views

High Precision Plots of Eisenstein Series [closed]

When plotting the Eisenstein Series (great information here Eisenstein Series in Mathematica?) you observe highly non-trivial branch cut behavior close to the real axis. This makes the numerics break ...
2
votes
3answers
92 views

Find extremal values while plotting

I have a parametric function {x[t],y[t]}. I then do ...
2
votes
2answers
325 views

Draw a circle through 4 points on parabola [closed]

I have two dynamic perpendicular parabolas: $y=ax^2+c, x=by^2+d$, which intersect in four points (the coefficients are chosen that way). There is a fact that we can construct a circle through these ...
0
votes
0answers
39 views

3D Plots and vector fields [duplicate]

I'm a beginner. How I make a 3D Plot from zero? (like a graphics with the potencial of the electric field). I have to make vector fields too. (vectors of the electric field). I search at internet but ...
0
votes
0answers
57 views

3D Plotting of numerical solution

Numerical solution (f(t)) is obtained by solving coupled ODEs. I have used 'Manipulate' to vary the values of two parameters in the couple ODEs and plot the solution (f(t)). How to display the same ...
3
votes
1answer
92 views

How to automatically label the cluster distances in a DendrogramPlot?

I have a distance matrix data, and want to visualize it as below: The current codes I am using is: ...
0
votes
1answer
60 views

How to plot function against another function? [closed]

I want to plot V(z) against phi(z). I tried to used ParametricPlot but that didn't answer. ...
0
votes
0answers
56 views

Possible to plot Real vs Imaginary for Plot3d?

Tristan Needham stated in the introduction to Visual Complex Analysis that he used Mathematica to create the majority of graphs in his book. I'm trying to recreate the graph he made for figure[14] of ...
1
vote
1answer
121 views

plotting a function in bipolar coordinates

How to plot a function specified in bipolar coordinates if straightforward substitution of expression of Cartesian ones via them is impossible?
1
vote
2answers
84 views

Having trouble plotting. Here is my code:

Nothing is plotting when I try to run the code
4
votes
3answers
164 views

Changing color of overlapping plots

If I have two plots with two different colors, Plot[{Sin[x]^2, Sin[10 x]^2}, {x, 0, 5}, PlotStyle -> {Red, Blue}] is there a way to change the color of the ...
0
votes
0answers
22 views

What is the difference between these two syntax? [duplicate]

Consider the code below, at first I think these two are identical. However, running the below code in Mathematica 10.3.1.0, The first: 3 lines of different color. The second: 3 lines of the same ...
0
votes
0answers
55 views

How to plot a series of data with same x

How can I plot a list like {{x,y1,y2,y3,...,yN},{x,y1,y2,y3,...,yN},...} I have several y for x
1
vote
1answer
39 views

Plotting Elipsoids with large weight matrix

I'm running into some problems plotting 2D Ellipsoids with non-diagonal weight matrices -- they are not centered where they are supposed to be. I'm not sure exactly ...
1
vote
1answer
47 views

Epilog out of the plot range [duplicate]

I need to put some letters besides the plot, i.e. out of the plot range. I thought of using Epilog: ...
0
votes
0answers
32 views

How to construct my own ColorFunction with the TemperatureMap range

I would like to draw the unit circle and define my own coloring function on it so that every point $e^{i\theta}$ of the unit circle will be colored according to said function from the range of colors ...
0
votes
3answers
69 views

How can I create a four dimensional plot (3D space + color) of the data provided? [duplicate]

I would like the x, y, and z axes to be reserved for the first three columns and the color to be reserved for the fourth column. I would like the output to have a color bar and color function. If you ...
3
votes
2answers
115 views

How can I make the color points in ChromaticityPlot[] joined?

So I'm using ChromaticityPlot[] to plot some colors as points: ...
1
vote
1answer
38 views

Extra restrictions in best response functions using Manipulate[ ]?

I have two best response functions that I have defined like this: ...
0
votes
0answers
41 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
42 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
162 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
164 views
5
votes
1answer
121 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
385 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
45 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
32 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
143 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
62 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
87 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
37 views
2
votes
1answer
63 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
110 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
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
159 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: ...