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
75 views
1
vote
1answer
137 views

Plotting Zeros of a Complex Variable

I'm trying to plot the zeros within a certain distance from the origin using Mathematica of a given function (in my case, partial sums of the Zeta Function). I've tried plugging in simple functions, ...
0
votes
0answers
17 views

NDSolve_ODESolve_Plotsolution [duplicate]

I am trying to use mathematica to solve this problem. Thank you! Given the ODE $$ -\frac{a^2 V_0}{2} f''(x)-V_0\cos\big(\frac{2\pi x}{a}\big) f(x)=E f(x) $$ (a,V_0) are positive real constants. Find ...
3
votes
1answer
933 views

How can I draw the transition diagram of a Markov chain?

I apologize for my heaviness as I am a Mathematica novice. Is there a kind soul who can tell me how to draw diagrams like those shown on page 158, 160 and 161 of this document.Chaine de Markov I ...
0
votes
2answers
66 views

Accumulate 2D points that have the same first component [duplicate]

I have a list of points: points={{3, 0}, {3, 9}, {4, 2}, {5, 5}, {6, 9}, {6, 6}, {6, 1}, {7, 7}, {8,0}, {8, 10}}; And as you can see on the plot, there are ...
1
vote
1answer
66 views

Plot rate of change in $x$ axis of list of points

I have a list of points, that may have clusters in some of the $x$ axis values, and my goal is to get a function that shows that graphically. Something like this, but the red function is "hand ...
1
vote
2answers
101 views

Cropping a Plot without rasterization

Suppose that I make a plot of $x^2$ vs. $x$: myPlot = Plot[x^2, {x, -1, 1}, Frame -> True] If I click on the plot, I see the orange handles with which I can ...
1
vote
1answer
103 views

combining manipulate with “static” plot

Is there a way to show a plot of a "static" function as background for a manipulate panel ? In other words: I have put into a manipulate a trajectory (solution of a system of two differential ...
1
vote
2answers
97 views

2D Fourier transform of a table - ArrayPlot issue

Recently, I have encountered an issue with ArrayPlot after performing a Fourier transform of a table. Picture presented above is an ArrayPlot of a 2D table. Using Fourier on this 2D table I obtain ...
0
votes
0answers
35 views

How to add a subplot in corner of plot? [duplicate]

How is something like the plot with subplot shown in this image achieved with Mathematica?
0
votes
0answers
38 views

Converting a BSplinecurve to function

I am having two set of data. This is d000 and d001. The set d001 is a subset of d000. I am fitting the d000 data by using the BSpline of the d001 data according to the following commands: ...
1
vote
3answers
136 views

Plot parametric solutions using Manipulate [duplicate]

I want to plot the parametric diagram of {y[t],z[t]}, in which I manipulate a parameter, ω, from $[1, 10 \pi]$. Here is what I have attempted, but I can't get a ...
1
vote
1answer
81 views

Extracting Imported Information

What I want to do is to compare the relationship between the consumption of say beer and wine using scatter plots where each point designates the particular country (preferably named). I have tried to ...
1
vote
3answers
168 views

For loop in Mathematica

I have set of statements ...
2
votes
2answers
363 views

How to visualize slope fields of differential equations without vectors?

I'm looking to visualize slope fields of differential equations for my differential equations course. Every example I see draws them as vectors, adding unnecessary "arrows" that, to me, are visually ...
0
votes
1answer
39 views

ContourListPlot not evaluating all of interpolated area

I am trying to plot a contour for a matrix, but it seems not to be evaluating all the points. Here is the interpolated figure, followed by the MatrixPlot version itself. I used this colormap because ...
0
votes
3answers
176 views

Draw generalized k-ellipse using “the locus of points so that sum of the distances to the foci is constant” deffinition

My goal is to draw a family (for different distances) of 3-ellipse for equilateral set of foci. 3-ellipse definition is: "the locus of points so that sum of the distances to the three foci is ...
-5
votes
1answer
83 views

Poincaré section for 3BP

I try to plot the Poincaré section for the 3BP i use the following code that works very well: ...
7
votes
1answer
179 views

Generating high quality charts in Mathematica for use in LaTeX and Word

I frequently have a probelem using my charts in reports because the text (axes labels and tick marks) look low resolution (fuzzy). When I export my charts, i export them as PNG files. Unless I'm ...
4
votes
1answer
200 views

MATLAB to Mathematica: coneplot

Does Mathematica have a function, similar to the one called coneplot in MatLAB? Given some spatial coordinates $x, y, z$ and velocity components $v_x,v_y,v_z$, it ...
0
votes
2answers
248 views

Problems with NDSolve and stiffness

I am trying to solve an ODE in chemical kinetics: $$\begin{align*} \frac{\mathrm d[x]}{\mathrm dt} &= -k_1 [x][y]\\ \frac{\mathrm d[y]}{\mathrm dt} &= k_1 [x][y] - k_3[y] \end{align*}$$ My ...
1
vote
1answer
106 views

Breaks in plot & blank plots

Almost as a follow on from this old question, I am having similar problems again, with slight difference, that if the values are small enough, a completely blank plot is produced. ...
0
votes
0answers
34 views

How to plot data of complex numers [duplicate]

Here I have some output calculated for different values of some parameter. I want to plot these points in complex plane Re, Im and present them with ListLinePLot. How can I do that, I tried many times ...
0
votes
1answer
28 views

How do I pull from a data list for parameter values in a system of ODEs and then solve and plot?

I have a parameter set list and I would like to solve a system of ODEs multiple times using each parameter set in the list. Then I would like each set of solutions to be graphed on the same plot. ...
0
votes
1answer
43 views

grid lines in Manipulate plots are not showing up when first rendered?

I have a Manipulate within which the plot does not render completely initially: ...
-1
votes
2answers
76 views

Plotting solutions of differential equations with different parameters

I want to plot x[t], when i manipulate w from 0.1 to 1.5. Here is what I've attempted, which does not work as expected. ...
1
vote
2answers
90 views

intersection between function and plane

I try to solve a ODE system of equations and i want to plot the intersection of the 3D solutions with a costant plane. To do this i use the follow code: ...
0
votes
1answer
55 views

Plot graphs in different colors

I am generating a set of plots and exploring how changing a parameter affects the plot shape. I want each plot to be a different color, but the color rule i'm applying seems to only work for the last ...
2
votes
2answers
208 views

How to plot several functions without jumping? (multiple eigenvalues of a system as functions of 2 parameters)

I've been working on this research problem for months with some success by no global/proper solution to the problem. So I have square, Hermitian matrices of various sizes ($8,20,38$ dimensions) with ...
1
vote
1answer
103 views

Plotting a list in real time

I would like to use Mathematica for a presentation and have a list plotted in front of my audience, one coordinate at a time. How would I go about plotting a list progressively in real-time, ie the ...
1
vote
2answers
147 views

MathLink Graphical Output (Plots) to File

In a custom Mathematica frontend based on MathLink I try to make use of plots produced in Notebooks. The idea is to write them to files whenever they get produced. According to C-code snippets I ...
1
vote
1answer
68 views

How to assign Subscript[C, i] to a Sum?

What I want to show is: Plot3D[ Sum[1000*Subscript[C, i]^2/(1000*Subscript[C, i] - 600)^r, {i, 1, k}], {k, 1, 30}, {r, 0.1, 1.5}] And, I want the list of ...
22
votes
3answers
1k views

How to change ColorFunction after plotting

Say I have a plot like plot = DensityPlot[Exp[-((x-5)^2+(y-5)^2)/5^2], {x, 0, 10}, {y, 0, 10},PlotRange -> {0,1}] Is there a way to change the ...
9
votes
3answers
283 views

Errors when plotting Exp[-x]/x for large values of x [duplicate]

I am trying to plot a very simple function f[x_]:=Exp[-x]/x on a log-log scale like this LogLogPlot[f[x], {x, 10^(-5), 10^7}] ...
0
votes
1answer
96 views

LogLogPlot giving many error messages [closed]

I'm trying to do a LogLogPlot of the following function: ...
1
vote
1answer
116 views

Draw grid with points

How would I draw a grid with dots on specified intersections? The image below shows the basic idea: If I wanted to label the grid lines with index numbers or letters, how would I do that?
0
votes
1answer
111 views

2 Equations continuous at a point

I want to get continuous point between two equations. My equations are: ...
1
vote
2answers
75 views

Cannot Plot Function

I cannot plot this function as I am getting errors. I am not sure what I am doing wrong. Seems to work when $$n \rightarrow 1,$$ but when $$n \rightarrow 2,$$ I get a whole bunch of errors and ...
8
votes
1answer
310 views

LogPlot axes labels destroyed when working in high precision

(I'm using Mathematica 8.) I have a Taylor series: poly = Normal[Series[E^x, {x, 0, 10}]] I want to produce a log-linear plot of the error. This is easy enough ...
2
votes
2answers
197 views

Add Point to Plot3D

I'd like to simply add a nice thick point in $(0,0,0)$ to Plot3D[(y^2/x), {x, -3, 3}, {y, -3, 3}]. The solutions I came across to add anything to ...
0
votes
0answers
42 views

3D Point in Epilog of Plot3D [duplicate]

When plotting in 2D you can add a Point to the plot using Epilog: ...
0
votes
2answers
96 views

Histogram plot with descriptive statistics on the plot

I am wondering in Mathematica Can we generate histogram plot with descriptive statistics, such as mean, median, and skewness, attached to the plot ? For example, we may place all the statistics to ...
3
votes
1answer
91 views

How can I change label colors in a colored chart?

I am trying to make a chart with labels, but I would like for the labels on the chart to be white for purposes of visibility. I am aware of the ...
2
votes
1answer
156 views

RevolutionPlot3D: Inconsistency between Mathematica 8/Linux and Mathematica 9/OSX

The following code runs error-free in Mathematica 8.0 under Linux. ...
7
votes
4answers
208 views

Controlling ListPlot Line Colors

I am using ListPlot to display from 5 to 12 lines of busy data. The individual time series in my data are not easy to distinguish visually, as may be evident below, ...
1
vote
0answers
66 views

Parallel numerically integrated function can't be plotted

I've been working on a problem where I need to integrate a function numerically. The function is quite complex and it takes almost an hour for Mathematica to make a plot. To speed the process up I ...
0
votes
1answer
85 views

How to plot the output of a calculation with a changing variable

The following code successfully manages to plot the cross-section, and give me the maximum depth of a weld pool, for a given set of parameters. What I would ideally like to be able to do is to plot a ...
2
votes
2answers
224 views

Misaligned DensityHistogram, DistributionAxes & PlotRange

data = RandomReal[NormalDistribution[0.5, 0.1], {10000, 2}]; DensityHistogram[data, PlotRange -> 1, Method -> {"DistributionAxes" -> "Histogram"}] The ...
1
vote
1answer
92 views

Plot periodic function from Dirac delta function [duplicate]

Sorry for my bad english. I need to plot periodic function from dirac delta: δT(t)=∑δ(t–n*T), where T - is a constant, and n=-20..20 And after them, plot new function fd=f(t)*δT(t) - discrete signal ...
3
votes
1answer
115 views