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
1answer
124 views

Plot hermite spline [closed]

I'm new to Mathematica and cannot figure out a way to plot a 2d hermite spline. My points are: $p_0=\{143.05;195.606\};$ $p_1=\{159.373;181.845\};$ $p_2=\{160.891;179.26\};$ $p_3=\{176.423;171.878\};$ ...
2
votes
2answers
109 views

Plot: how to have the y-range automatically scale to min-max on the x-range?

I have a long list of {date,value}. I would like to use DateListPlot to plot only a subrange, from date1 to date2, with the range on the y-axis automatically chosen to be between the min and max ...
0
votes
1answer
515 views

How to plot a function $\psi(r,\theta,\phi=0)$ in polar coordinates?

I have a function $\psi(r,\theta,\phi=\phi_0)$ with $\phi_0\in \Re$, $r\in[0,R]$ with $R\in \Re$, and $\theta \in [0,\pi]$ (spherical polar coordinates) and I want to plot it in Mathematica. I guess ...
0
votes
1answer
113 views

Plotting values above a threshold in ListPlot3D

I'm able to plot a 3D plot of a grayscale image using ListPlot3D, where it plots a 3D surface of the image pixel intensity. But I would like not to plot the pixel ...
0
votes
0answers
71 views

how to plot 3d graph with its projection on the plane? [duplicate]

I know that using matlab we can plot above kinds of graphics, looking very nice and informative. For so long time, I have been wondering how to plot those kinds of figures in mathematica. I was ...
0
votes
1answer
278 views

plotting xy, yz, zx plane at

I have a data list in the following form, data = {x, y, z, f} I would like to present three kinds of subdata set as a density (or contour) plot on the ...
0
votes
1answer
87 views

Plot producing many error messages when given complicated function

I'm new to Mathematica and am running in to all sorts of silly difficulties with coding in it. I'm trying to calculate a function f[x, k], normalise it with another ...
4
votes
3answers
259 views

Draw plot with locator & slider

I would like to create a plot whereby both the slider and the locator 'draw' the plot. In the following code, the locator & the slider act independently: ...
4
votes
1answer
200 views

Visualization of iteration procedure in NMinimize

I have this optimization code: ...
3
votes
1answer
461 views

Plotting multiple lists of complex numbers

The user #Nasser showed an elegant way to plot complex numbers: ...
0
votes
1answer
326 views

How to I display the value of my plot function?

I've plotted a function that varies with respect to time. It's inside a manipulate box, which can vary the time. And I'd like to display the value of the function at the time on the slider on my plot. ...
2
votes
2answers
986 views

How can I plot implicit equations?

If you enter the following into Wolfram | Alpha, you get nice graphs: graph 4 x^4 + y^2 = 2 How do you do this in Mathmatica? I realize that these are not ...
1
vote
3answers
188 views

plotting an Integration output

How to solve this integral by Mathematica even by numerical methods (plotting the solution) Integrate[(Cos[x] - a)/(1 + a^2 - 2*a*Cos[x])^1.5, {x, 0, 2*Pi}] It ...
1
vote
1answer
102 views

Unit ratio in plots? [closed]

I want to make a plot in which unit interval on both axes to have equal lengths visually. i.e. I want (1,1) and (0,0) to make a square rather than an elongated rectangle.
1
vote
3answers
144 views

automatic processing of numerical results in `Plot`

First I want to solve an equation $F(x,y)=0$ for $y$ by supplying a value of $x$. (suppose obtaining the analytic form of $y(x)$ is too difficult) Then I want to plot root $y$ (numerically calculated) ...
2
votes
3answers
282 views

How Can I superpose an image and a graphics?

I want to superpose an image with a graphics in order to evaluate their alignment. I am writting this exemple of code. ...
0
votes
1answer
151 views

Plot lines keep disappearing

I'm trying to plot the Compton Shift which I've defined as: E2[ϕ_] := E1/(1 + (E1/(m*c^2))*(1 - Cos[ϕ Degree])) I've initiated the constants and when I evaluate ...
1
vote
0answers
81 views
3
votes
1answer
119 views

Adding and summing overlapping Airy (or Gaussian) disks on a plane

In a previous question of mine, I asked how one might draw an Airy disk on a plane: Generating an Airy disk on a plane, and recieved some impressive answers from the users Timothy Wofford and ...
2
votes
1answer
115 views

Copying each object in a plot as an image

I would like to copy a plot from Mathematica as an image, into a powerpoint slide. This plot has two curves. When I try to do the (naïve) usual "copy graphics" and paste, I find the full plot (along ...
3
votes
2answers
261 views

fit a curve in a three dimensional space

I have a list of points of a curve in a three dimensional space, like ...
0
votes
0answers
43 views

How to manipulate lists to get only part of the value [duplicate]

This is really a question about manipulating the output of Maximize. I have a function of 2 variables, defined thus: ...
2
votes
1answer
433 views

Plot3D with a log scale only along the y-axis

I would like to ask how to make a 3D plot (maybe using Plot3D) with a logarithmic scale along the y-axis? For example: I have a function, $f(x) = 2(1 + a\,x^4)/x^2$, where $x$ varies from 0 to 20 ...
6
votes
3answers
561 views

Hovering mouse cursor over a plot to display a “corresponding” point in another plot

(Apologies for not having gotten around to responding to and accepting answers on my other recent questions—as a meticulous and thorough type, I'd like to take my time to fully comprehend and ...
3
votes
2answers
501 views

Generating an Airy disk on a plane

I wish to generate a surface intensity plot of an Airy disk (or perhaps a two-dimensional Gaussian approximation to an Airy disk) on an (x, y)-plane at a specified coordinate. The hope is to have ...
1
vote
1answer
113 views

Two-way locator & slider controls

I was wondering whether it was possible to have a two way control system, whereby one could click and drag both the locator (which would in turn move the sliders), AND click & drag the sliders ...
1
vote
1answer
146 views
0
votes
2answers
90 views

Gaps in plots of equation solution from parameter

I'm trying to plot solution of system of equations as a function of parameter ...
2
votes
2answers
330 views

Locator to show coordinates of plot

Old I would like to make the locator follow a plot, giving the coordinates as it moves. I don't really know where to start with this one, but I would like the dynamic plot to look something like ...
9
votes
2answers
349 views

In version 9 PlotLegends, how can I remove the strange edges that appear around LegendMarkers?

I'm running Mathematica version 9. I am using ListPlot to plot two sets of data. For each data set, I am using different ...
4
votes
2answers
281 views

How and when to use Evaluate?

A month ago, I used Mathematica to solve my experiment of the Test Technology of Mechanics Engineering. The exeriment is mainly about the Fourier Transform and verify the validity of the theory of ...
7
votes
1answer
132 views

Fixing Spline curves so as to not overlap with themselves - (Diagrams)

Statement of the problem: Conceptually, what I'm trying to achieve is pretty simple. I have some code that generates a set of diagrams from a list of sets of points using BSplineCurve. Certain ...
0
votes
1answer
122 views

Understanding distribution chart

How to explain DistributionChart function in mathematica, For example: if I have ...
2
votes
1answer
327 views

How to combine two plots with the same y-axis

I have a data file which contains three columns of data. The first and the second column correspond to $x$ coordinates, while the third column to $y$ coordinate. Here is a small sample of the data ...
3
votes
2answers
301 views

How to show the coordinates of a point and the equation of a line dynamically? [duplicate]

I am constructing a diagram that consists of a sine curve and its tangent line at a given argument. However, I want to show the coordinates of the point of tangency and the equation of the tangent ...
1
vote
1answer
197 views

Plot the solution complex transcendental equation

I'm trying to plot an implicit function satisfying a complex transcendental equation. The code is the following: ...
1
vote
1answer
68 views

What's wrong with the following Plot in Manipulate?

I try to show the convolution of a step function and a triangle function is smooth with the following code: ...
6
votes
2answers
694 views

Too much whitespace in a GraphicsGrid containing Legended Plots

Where is all the vertical whitespace coming from, and how do I get rid of it? ...
2
votes
1answer
80 views

Plot with non-standard domain

I have data {x, y} where x starts at -25 degrees and goes up to +25 degrees in 1 degree steps, and then comes back down to -25 degrees in 1 degree steps again. I ...
9
votes
4answers
330 views

Finding a point from a set of contours such that it is nearest to a given point

I have several contour lines and one point. How can I find a point in one of those contour lines which is nearest to the given point? ...
2
votes
2answers
131 views

How to plot complex values given by Solve

Update Solve[N[Table[BernoulliB[n, z], {n, 10, 10}] == 0]] ...
1
vote
1answer
187 views

Formatting plot of symmetric points differently to asymmetric points

From an array of numbers, I would like to determine (and then colour appropriately) which points are symmetric about a given axis (here, $x = 1/2$), and which are not. For example, form this: ...
3
votes
2answers
161 views

Differentiating a Cumulative Distribution Function which has a discontinuity at $0$

I want to take the derivative of a distribution function which has a discontinuity at $0$. Here is the function: ...
10
votes
1answer
433 views

How do I place a texture on an irregular 3D model?

I'm trying to reproduce a textured head in Mathematica, and I'm using a kind of 'net' of a head which contains all the features on the face. The texture looks like this: which is supposed to look ...
2
votes
2answers
143 views

How to increase the size of the dot produced by OverDot[]

As the title says, I want to find a way to increase the size of the dot produced by OverDot[]. Here is a simple code ...
3
votes
1answer
160 views

Plot Ticks disappear when combining Plot with Graphics

I'm attempting a simple Plot that I want to add asymptote markers to: ...
1
vote
4answers
205 views

Given an implicit solution, how to plot transformation of this implicit solution?

I have a function, which gives an implicit solution of a variable $y$ as a function of $x$. Moreover, I have a function $f$ which depends on $y$. How to plot a ratio of $f/y$, given that $y$ is only ...
2
votes
1answer
109 views

Set defaults for ViewPoint and AxesLabel

Instead of adding AxesLabel -> {x, y, z} every time to code in order that the axes appear, how can I make Mathematica display the axes by default? Also, how can ...
1
vote
1answer
3k views

Plot points, line and plane in one 3D plot [closed]

What's the easier way to plot these coincidently in 3D: ● The plane $5x - 4y - 9z = 0$ ● Parametric line $x = t, y = t/2, z = t/3$ ● Two points: $(0, 0, 0), (1, -1, 1)$ ? Moreover, how can I pick ...
6
votes
3answers
587 views

Customizing & finding intersection points in polar plot

I want to verify a theory stating that a golden mean spiral plotted on a polar graph will have intersection points at specific values. There should be 8 concentric circles, each at the same ...