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

learn more… | top users | synonyms (8)

3
votes
1answer
97 views

Why is TimeSeriesForecast linear?

When I use FinancialData with TimeSeriesForecast, the resulting graph is always linear and thus not very accurate. ...
1
vote
0answers
45 views

How to fix the error InterpolatingPolynomial::ipdup: The abscissas are not distinct

I'm trying to plot the function Abs[InterpolatingPolynomial[..] - f[x]] where f is a function. I receive the error: InterpolatingPolynomial::ipdup: The ...
1
vote
1answer
59 views

Plotting a horizontal parabola using Plot[ ] with one function [closed]

I understand plotting a horizontal parabola using this: Plot[{Sqrt[x], -Sqrt[x]},{x, -10, 10}] but I don't understand how to plot the same curve using $x=y^2$. ...
4
votes
1answer
65 views

Adding line parallel to quantile plot reference line

I want to compare two list in a quantile plot QuantilePlot[{1, 2, 3, 5, 8}, {2, 3, 6, 9, 10}] I now want to add a black line parallel to the reference line, like ...
1
vote
0answers
50 views

How to align/grid several plots(mXn) in one figure? [duplicate]

I run Mathematica 10.0.2 on my Win7. I'm trying to make a PDF for publication similar to figure below: This is a figure containing a 4X3 image. The feature in image is irrelevant, my point is to ...
6
votes
2answers
82 views

How to scale values for ColorFunction in SliceContourPlot3D?

Trying to help out in the question, Finite Elements 3D, I came across this behavior of SliceContourPlot3D: ...
1
vote
0answers
55 views

Plot for a polynomial with multi-variable as parameters [closed]

I would like to generate a Plot for a multi-variable polynomial. When I try the code below: ...
5
votes
1answer
80 views

How can we choose the distance between PlotMarkers in a ListPlot?

If we write in Mathematica: ListLogLinearPlot[Table[{x, x^4}, {x, 1, 2, 0.03}], Joined -> True, PlotMarkers -> {"\[FilledCircle]", 10}] we get: where ...
4
votes
2answers
154 views

ListPlot vector 3D circle line

I got a 2D vector with the following code. ...
3
votes
1answer
72 views

Colour of lines in ContourPlot3D

How do I change the colour of these lines from black to, let's say, red? ...
0
votes
0answers
60 views

Problem with BSplineCurve 3D

I have a problem using the function BSplineCurve [ ] . I have to represent a line passing through about 3000 points in 3D. I managed to plot the points separately, but when I use the 3D BSplineCurve ...
0
votes
0answers
35 views

How to Plot StreamPlot of an ODE (particular case)

How do I plot (StreamPlot) the differential equation y'=ay-by^2 (a=3, b=1 , for example). It is a separable ODE without explicit x dependence on RHS. I tried StreamPlot[{1, (3y-y^2) },{x , 0, 5}, {y ...
3
votes
1answer
71 views

Phase space 3D diagram [closed]

I want to draw a diagram for nonlinear dynamic system in three dimensions $(m,y,A)$ but I don't know how do it. These are my equations: ...
4
votes
2answers
166 views

How to generate a random pulsar graph between two points?

I am going crazy trying to create this. I am trying to create a pulsar graph that starts and ends on two points that have the same y smoothly along the x axis. The pulsar should have random valleys ...
1
vote
2answers
109 views

Plot region from given coordinates [duplicate]

How can I connect given coordinates and create figure from it? Can I fill it with colour? I tried: Line[{a[[1]], a[[2]], a[[3]], a[[4]], a[[5]], a[[1]]}] where ...
0
votes
2answers
58 views

plotting summation to check for convergence

Our assignment was to enter in a series and check to see if it converges by graphing. However, when I attempt to graph it, I get a bunch of errors that I'm not sure what they mean. Best way to show ...
3
votes
0answers
51 views

Fitting real and imaginary parts of a function

I have an analytic form of a function G[w_] = -I*z0*w/(1 + I*z0*w*a) I know this function can be obtained (up to some overall normalization) from solving a ...
1
vote
1answer
50 views
6
votes
2answers
167 views

Arrow head halfway along parametric plot

I have a problem with putting arrowheads on my parametric plot, I have looked through the various examples on here, which all work fine, but when I replace it with the code for my parametric plot, I ...
1
vote
1answer
103 views

Simple code failing which used to run perfectly

This very simple code ran perfectly two days ago, and now it is failing, for no reason that I can see. It is simply running indefinitely, and when I abort it, it continues running until I abort it ...
4
votes
2answers
125 views

Interpreting the result of ContourPlot3D

I want to understand what exactly ContourPlot3D is plotting here. I wanted to check that there are no solutions $(x,y,z)$ to the equation $$\frac{1}{a b (1 - x - ...
10
votes
2answers
116 views

How can I make a density plot (or contour plot) with an arbitrary nonlinear scale (e.g. arcsinh, log, biexponential)?

I was inspired by this question, which showed how we can apply logarithmic scaling to a density plot. But I'm not always a fan of a logarithmic scale - it tends to overemphasize smaller features. ...
9
votes
2answers
379 views

Small circles at mesh nodes

How to show the (16 X 4) mesh intersection points by a tiny red dots? ParametricPlot[v { Cos[u], Sin[u]}, {u, 0, 2 Pi},{v,1,3}, Mesh-> {15,3} ]
-1
votes
1answer
77 views

Why do my discrete plots fail? [closed]

I'm trying to make a discrete plot of this function: y[k] = ( 0.2 * sin(k) )/k. But when I evaluated this: ...
5
votes
1answer
100 views

PlotStyle according to PlotRange

I have the function Hypocycloid[{R_, r_}, θ_] := {(R - r) Cos[θ] + r Cos[θ (R - r)/r], (R - r) Sin[θ] - r Sin[θ (R - r)/r]} For, e.g., R=5 and ...
0
votes
1answer
39 views

Plotting Open and Closed Dots for Endpoints [duplicate]

In traditional textbooks you'll see open and closed dots to indicate whether to include or exclude the point respectively. How can I modify this code to include open and closed dots at x=2? I don't ...
9
votes
2answers
403 views

How to plot a distribution of planes

How can one plot in Mathematica a distribution of planes in $\mathbb R^3$? For some point $p=(x,y,t)\in\mathbb R^3$, I want to attach a plane spanned by $X(p)=\left(1,0,\frac{1}{2}y\right)$ and by ...
1
vote
2answers
84 views

How to show the directions (arrows in the graph) for a ParametricPlot [duplicate]

f[t_] := 2*t - 3; f1[t_] := 6*t - 7; ParametricPlot[{f[t], f1[t]}, {t, -3, 3}] The above code shows the graph... but it can't show me the directions. How can this ...
6
votes
3answers
235 views

What is causing these artifacts in RegionPlot3D?

I have a simple program like this: ...
0
votes
1answer
38 views

ListPolarPlot does not allow PolarAxes->True or PolarGridLines->True? [closed]

I am running the personal version of Mathematica 9 on a MacBook Air with OS 10.10.5. When I try to activate PolarAxes->True and/or ...
0
votes
1answer
56 views

Display intersection points between a curve and a line on plot

Does anyone know how to make a plot display (permanently and/or as tooltips) both the labels and values of the intersection points?
3
votes
2answers
99 views

Plot a parametric function from $\mathbb{R}^2$ to $\mathbb{R}^2$

I want to plot the following function defined on $[-1,1]\times[-1,1]\setminus(0,0)$: $$ F(x,y,t)= \begin{cases} (1-t)(x,y)+t(1,\frac{y}{x})& \text{if}\ -x\leq y\leq x \\ ...
3
votes
1answer
67 views

Adding digits to tick mark labels

Consider: ...
0
votes
0answers
58 views
3
votes
1answer
114 views

Creating a custom color plot with tones of colors

Here is a sample set of data ...
4
votes
0answers
40 views

Option for styling PolarAxes - Am I missing something or is this a missing feature?

You can style the axes in Plot with AxesStyle. For example, the following code makes the axes red. ...
1
vote
0answers
95 views

Solving a set of trigonometric equations

I've been trying to solve the following equations in order to plot Subscript[θ, 41] with respect to Subscript[θ, 2] from 0 to ...
5
votes
2answers
145 views

RegionPlot of ImplicitRegion is incorrect

Why does RegionPlot of the ImplicitRegion give an incorrect plot? Also, will how does this affect calculations with ...
0
votes
1answer
43 views

Plotting an expression with a complex-valued exponential [duplicate]

Given the wave function $\Psi\left ( x,t \right ) = \psi\left ( x \right )T\left ( t \right )$ with the spatial component of the wavefunction $\psi(x) = \psi_{0}e^{-ikx}$, I tried ...
-1
votes
1answer
62 views

Jumping from one dimension (1D) to two dimensions (2D) Part II

Here is a sample data file data = {{-10,3,1},{-7.5,12,3},{-1.5,5,2},{2,4,4},{3,7,4},{6,9,5},{7,1,5}, {8,3,1},{9,12,2},{10,8,5}}; The first element of the list ...
3
votes
1answer
76 views

Why are PolarTicks displaying as decimals instead of fractions in Manipulate?

I'm building a graphing polar graphing palette to create graphs quickly. I setup a PolarTicks[] option to take in fractions using a slider in ...
0
votes
1answer
71 views

Jumping from one dimension (1D) to two dimensions (2D)

Here is a sample data file m = {{-10,3,1},{-7.5,12,3},{-1.5,5,2},{2,4,4},{3,7,4},{6,9,5},{7,1,5}, {8,3,1},{9,12,2},{10,8,5}}; The first element of the list ...
4
votes
0answers
47 views

Region plot with predicate [duplicate]

How can I plot the "cartesian sum" of two disks in the plane? In other words, how can I plot the set of points that are the sum of a point from one disk and a point from another disk? An example: if ...
3
votes
1answer
129 views

Graphics3D/Plot3D rendering issue

I have an issue in Mathematica with the rendering of 3D graphics. Two sides (right and bottom) of some sort of bounding box are present, and, in the instance of ...
0
votes
1answer
54 views

ListLinearLogPlot doesn't work [closed]

So I'm trying to plot my data using ListLinearLogPlot. ...
2
votes
1answer
60 views

ListDensityPlot — bar legend colors inconsistent with plot value coloring [duplicate]

I want to make a ListDensityPlot of an array of values that happen to be 1. To mimic this, use: ...
1
vote
1answer
101 views

How can I plot the typical axis and not the “box axis” in Plot3D?

Are there any option to plot the typical and classic axis instead de "box axis" that is the default option in Mathematica? What I would like is any similar to the axis in red in the following image. ...
1
vote
2answers
102 views

How can I draw a hyperbola of a complex form

How can I use Mathematica to draw locus of point in complex plane given by $||z-i|-|z+i||=1.$ I have tried few codes, but not succeed.
4
votes
2answers
79 views

How to plot against scaled axes?

Say I have some plot, such as: Plot[Exp[-(x - 2)^2/(2*1^2)], {x, 0, 6}, AxesLabel -> {"x", "f(x)"}] But I want to present it with the axis labeled as ...