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

learn more… | top users | synonyms (10)

2
votes
2answers
72 views

How may I vary the opacity of mesh points by reference to their original coordinates

I'm using ParametricPlot3D to show only the mesh points, but would like to vary their opacity by reference to a function of their original position. ...
1
vote
1answer
57 views

How to rescale a NDSolve curve to fit in a box?

I'm numerically solving some differential equations and the 3D curve I get has a very complicated shape and size that cannot be predicted from the initial conditions. I need to rescale the whole ...
2
votes
0answers
66 views

To show optimization movement when using FindMinimum [closed]

The code is suppose to show the movement of optimization points from the first until the minimum point is found on the Contour Plot. However, the plot that I have is not showing the correct movement ...
0
votes
0answers
24 views

Need help in plotting surface with Show[] and Plot3D[] [duplicate]

I have the following surface to plot $$(1-\frac{z^2}{4})^{16}=x^2+y^2$$ I decied to express $x$ as $x=x(y,z)$. And met the difficulty when combining 2 plots. Here is what I've done. As u see I get ...
0
votes
1answer
57 views

How to plot an implicit function? [closed]

Usually to plot an equation like $y=f(x)$, you do so by using Plot[f[x],{x,0,10}] However, my equation takes the form $f(x,y)=0$ and $y$ can't be separated to ...
1
vote
1answer
45 views

Plot of a piecewise function misbehaving [closed]

Hi: I am trying to plot a piecewise function. What's weird is that the plot either (a) does not appear at all, or (b) depending on settings, either appears as a horizontal/vertical time. I must be ...
1
vote
2answers
83 views

A way to show all the 3D curve, with view still centered on {0, 0, 0}

I frequently have this graphics output problem : I draw a 3D curve using NDSolve, and depending on the initial data, there's no way I could predict the shape and ...
0
votes
1answer
35 views

Manipulate different function and variable

I have list of functions such that test = {test1[a,x], test2[a,x], test3[a,x]}; I would like to plot this three function using manipulation ...
1
vote
2answers
51 views

Obtain multiple coordinates from a function at a particular value

I have a function of the type: F[{x_,y_}] := x^2 + y^2 One can plot this function using Plot3D: ...
0
votes
1answer
47 views

how to increase the y axis of a plot after getting plot? [closed]

Suppose I have a plot in MATHEMATICA. I want to edit a plot to increase the y-axis. The editing should be possible after plot.
3
votes
1answer
123 views

Show the locus of the vertex of parabola

For the parabola y = a x^2+ b x + c I want to see the locus of the vertex as b varies (with ...
0
votes
0answers
29 views

Need help with animating the generation of an epicycloid [duplicate]

An epicycloid is a curve by following the motion of a fixed point on a circle with radius b which rolls along the outside of another circle which has radius a >= b. In general, its parametric ...
1
vote
1answer
73 views

Texture a surface with a JPG image

My basic problem is how to use JPG and other kinds of image files I already have as a texture to wrap or cover a 3D surface. I'm not sure if the path is necessary and if so, what's the syntax. For ...
1
vote
2answers
85 views

Animated discrete plot for a generalised random walk

I have a number of possible outcomes $R=\{r_i\}$, with $r_i\in\mathbb{Z}$ and corresponding probabilities of occurrence $P=\{p_i \}$, with $p_i \in [0,1]$ and $\sum_i p_i=1$. I am wondering whether ...
1
vote
1answer
47 views

Maclaurin Series - Table

I'm starting to learn Mathematica. I have to solved this eq and draw the graph. It is developing a series of Taylor in about x0 == 0. This is my equation to solve ...
1
vote
0answers
51 views

Smoothing ListContourPlot contours for unstructured grids. Part 2

My question is motivated by the following discussion. Smoothing ListContourPlot contours I need to generate high-quality contour plots for some property generated on a non-rectangular grid. This is ...
0
votes
2answers
77 views

Multiple plots with insets within Show [duplicate]

I wonder why I cannot see the second inset by using this code ...
0
votes
1answer
79 views

Maclaurin series [closed]

Can someone tells me, why is that not working? I'm starting to learn Mathematica. I have to solved this eq and draw the graph. It is developing a series of Taylor in about x0 = 0. ...
2
votes
2answers
114 views

Best way to include a “singularity” in a SmoothHistogram?

I have a dataset like this: data = {0,0,1.1,1.3,0,0,3.4,0,0,2.3,0,0 .....} You can imagine that data is generated from a ...
4
votes
1answer
92 views

Why is the range from $-\pi$ to $\pi$ in polar coordinates?

When I run this code FromPolarCoordinates /@ {{3/2, \[Pi]/3}, {3/2, (5 \[Pi])/3}} Then I search the documentation of ...
4
votes
2answers
198 views

Plotting a complicated 3D wave on the surface of a sphere [duplicate]

Suppose you have a vectorial wave described by a complicated function of time and cartesian coordinates $t$, $x$, $y$ $z$ (very simple example below) : ...
3
votes
3answers
147 views

ContourPlot does not find contours that RegionPlot finds

For a function I am plotting I can get a RegionPlot[f[x, y] > 100] but if I do ...
1
vote
1answer
53 views
6
votes
3answers
150 views

How to deal with overlapping data points in ListPLot

I am plotting data using ListPlot, but many of my data points are exactly overlapping and so the density of the data is not shown clearly. I wonder if there is a way to solve this, either by ...
4
votes
2answers
98 views

Labeling backplanes in a 3D plot using “enclosed numbers” (i.e. ①, ② …)

When we use ListPlot3D or Plot3D in Mathematica, a box is generated to contain the plot, as shown below. In the drawings below, ...
6
votes
4answers
568 views

How to recreate the gnuplot color scheme “AFM Hot” in Mathematica?

I'm trying to build an 3D AFM image from raw data with Mathematica. So how do I recreate the "AFM hot" color scheme? I've tried "SolarColors" and ...
0
votes
0answers
24 views

Semi-infinite sheet and Spherical inversion

I'm trying to define a function that will give a semi-infinite sheet (i.e. a sheet which exists when z=0 and x>0 for all y). I've tried using ConditionalExpression and ForAll, but when plotted using ...
0
votes
0answers
27 views

How to refine a custom function that extract point from `BSplineCurve`

I have make a function that can extract the point from a BSplineCurve ...
3
votes
1answer
63 views

Import Excel sheet into 3D array, 1st row and column as x- and y-axis

It might be simple, but for me, it took several hours working on, but still cannot figure out. Basically, I'd like to create 3 dimensional list data ({x,y,z}) from excel file, so I can plot them ...
3
votes
0answers
41 views

Overlay Inside a Grid/Column/Row Not Working

Here is a microscopy image of some cells I want to make measurements on with Mathematica: In order to make some measurements of cells in a microscopy image I have written a simple dynamic overlay ...
1
vote
1answer
74 views

How to define a stochastic electromagnetic field? [closed]

I would like to show the effect of a stochastic electromagnetic field on a relativistic charged particle, using a manipulate box. The field should be randomly varying in time and in space, and be ...
1
vote
0answers
78 views

Labeling 3D plots surfaces with numbers in suitable coordinates [duplicate]

Question My problem is related to labeling different surfaces of any 3D plot as shown below on a plot of Sin[x]Cos[y]. How can I label any surface by different ...
0
votes
1answer
52 views

Why are parts of already plotted graphs in Animate not static? [closed]

In order to reproduce the functions, that I am using in my Animate, you should use this code: ...
3
votes
1answer
62 views

How to add caption text to a Plot?

I want to add a descriptive text below a graphics, usually a Plot. The PlotLabel is not suitable for this, because I think it is ...
0
votes
0answers
52 views

Solving a Volterra type (second) integral

I am trying to numerically solve this Volterra type integral equation. The equation I'm plugging in is a simplified version of We will take $H(\eta')$ and $q(\eta)$ to be 1 for now. $\mu$ is = ...
0
votes
1answer
80 views

Breaking data sets into series for plotting

I have a generated a data set of a function $\alpha(\lambda_2,\varepsilon):\mathbb{R}_+ \times (0,1) \mapsto (0,1)$. I used mathematica to generate a list by varying $\lambda_2$ and $\varepsilon$; ...
4
votes
2answers
102 views

Want Manipulate to be low resolution enough to render fast but no so low resolution that it is useless

When using Manipulate to graph a simple surface (sum of 2 sine waves) with Plot3D, setting PerformanceGoal->"Quality" makes it take about 1/3 second to render, while "Speed" sets it at such a low ...
1
vote
2answers
92 views

How to make some mess points to be more smooth?

Background: The question is derive form this post.I have a another thinking about it.Some points in a suface you can give a certain equation but some points you cannot.So I wanna get a method to ...
1
vote
0answers
55 views

Artifacts in the solutions of NSolve [closed]

I have (what I think are) some problems with the precision of NSolve. I'm trying to solve this cubic equation: $a f^3(x)-b f^2(x)-c f(x)-z=0$ for the function $f(x)$ and then plot the following ...
0
votes
3answers
57 views

Plotting with NestList[]

So I want to use the NestList[] function, but i'm not sure how to achieve this for a system of equations like I have here $P_{n+1} = (rP_n +sQ_n)(1 - \frac{P_n + ...
0
votes
1answer
43 views

Problem with combining Manipulate and ParametricPlot3D

I've beein trying to solve this problem but somehow I just can't combine Manipulate and ParametricPlot3D. ...
0
votes
0answers
69 views

Maximum Likelihood Estimation of Gamma-distribution Scale parameter

I have the following tasks: Generate random sample with given parameters shape = 2, scale = 0.001 and shape = 2, scale = 1/1200 for the right censored sample; Using Maximum Likelihood Method ...
-3
votes
1answer
78 views

How to implement Bifurcation of delayed Lorenz system? [closed]

The delayed Lorenz system is as follows: (Bifurcation parameter as $\tau$) $$\begin{align*} D^\alpha x_1(t) = & a_1(x_2(t-\tau)-x_1(t)) \\ D^\alpha x_2(t) = & a_2x_1(t)-x_2(t)-x_1(t)x_3(t) ...
6
votes
0answers
86 views

vector plot with magnitude as legend

Mathematica does provide beautiful visualization of vectors. However, one puzzling situation I'm always facing is how to visualize the magnitude of vector fields. I'd like to have a plot as shown in ...
0
votes
1answer
79 views

Proper way to produce StreamPlot

I have faced with problem of not completely correct phase trajectories of ODE, which was produced by StreamPlot. Next following code ends up with this plot: ...
1
vote
1answer
72 views

Plotting a table with varying step sizes

how can I plot the below green curve? Is there any way I could manipulate the step sizes? This is my current code: ...
0
votes
3answers
111 views

Plotting a 3D vector field on 2D plane

I want to visualize vector field that is of the form $(v_1(x,y), v_2(x,y), v_3(x,y))$, i.e. there is a three component vector that depends on only two coordinates $x$ and $y$ in the real plane. There ...
1
vote
1answer
76 views

How to plot an Ordinary differential equations

Hey guys I'm using mathematica 5 now, and so new to this software thing. May I know how to plot the direction field using PlotVectorField[] and also finding ...
1
vote
1answer
27 views

control margin in plot [duplicate]

How would I control the distance between the y-axis and the left most plot border, ie. the space where description of the axis would be. I have two plots, I export them as two files, and then I place ...