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

learn more… | top users | synonyms (11)

7
votes
1answer
157 views

Old fashioned region method?

Just stumbled across this idea in http://users.rowan.edu/~hassen/Mathematica/Volume%20III/Chapter%2015.pdf. ...
5
votes
1answer
164 views

BoxWhiskerChart Notched: how is the notch calculated?

I am aware of one convention for the uncertainty in a median: it is 1.58 * IQR / Sqrt[n], where IQR is the inter-quartile range and n is the number of data points. This was proposed by McGill, Tukey, ...
0
votes
0answers
103 views

Unequal behaviour of FindRoot to two similar functions

Unfortunately, I have some difficulties to plot a function. Here is my code: ...
12
votes
1answer
264 views

Does InterpolationOrder cause conflicts with PlotMarkers in ListPlot?

Bug introduced in 7.0 or earlier and persisting through 10.3.1 or later My code: ...
14
votes
2answers
443 views

Plot3D is incorrectly returning “1/0. encountered”

Bug introduced in 9.0.1 or earlier and persisting through 10.3.1 The line of code Plot3D[1/y, {x, 0, 1}, {y, x + 1, x + 2}] is returning several "Power::infy: ...
3
votes
1answer
109 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: ...
1
vote
1answer
105 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 ...
20
votes
3answers
2k views

Plot a piecewise function with black and white disks marking discontinuities

Let's say I'd like to plot Sign[x + 0.5]: Plot[Sign[x + 0.5], {x, -1, 1}] Mathematica will give this: This plot does ...
0
votes
2answers
82 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 ...
5
votes
2answers
190 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 ...
4
votes
2answers
131 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 - ...
5
votes
4answers
237 views

ContourPlot refuses to show in-figure PlotLegends after turn on ContourShading

I would like to do a contour plot with a label inside the figure itself. For example, the following works well: (note there is a small text "example" at the right bottom figure) ...
4
votes
3answers
1k views

Adding plot legends in version 8

I use Mathematica to draw the displacement, velocity, and acceleration of one point in a graphic. ...
0
votes
0answers
512 views

Poincare Section of an Hamiltonian

I'm in desire to plot the Poincare Section of a differential equation defined by a hamiltonian system. The hamiltonian is as follow: ...
9
votes
2answers
388 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
116 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
63 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 ...
3
votes
2answers
107 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 \\ ...
1
vote
2answers
121 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 ...
2
votes
1answer
112 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: ...
0
votes
1answer
60 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?
0
votes
1answer
43 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 ...
1
vote
1answer
127 views

Different Order of Magnitude on Distinct Interval Plot Axes

I have a function as defined below: y[x_] := 9*10^-9*(Exp[x/(2*23*10^-3)] - 1) I am trying to plot this function for the range ...
3
votes
1answer
74 views
14
votes
6answers
897 views

Default Chart Color Doesn't Match

I have looked through other posts to find out what the default plot color is, but when I use it, the color doesn't seem to match. Can anyone explain why I'm seeing different output? The reason I ask ...
4
votes
2answers
164 views

How to customize color scheme to mimic that in Origin?

Origin is a software for plotting. The standard color scheme used by Origin is So how to mimic this color scheme in mathematica, so we can use it in ...
2
votes
3answers
763 views

draw part of parabola using graphics

today I was doing my physics homework. one of the questions was draw velocity-time and position-time graphs from the acceleration-time graph. So for the first step I draw acceleration-time using ...
2
votes
1answer
116 views

Is there a reason why some specific arrangement of scattered grid points would yield bad RBF (Obtuse package) interpolation results?

I have an arrangement of grid points given by the figure below (the datagrid data is posted below at the end of the post): They correspond to electrode positions of an EEG signal. I am ...
1
vote
0answers
105 views

Solving a set of trigonometric equations [closed]

I've been trying to solve the following equations in order to plot Subscript[θ, 41] with respect to Subscript[θ, 2] from 0 to ...
3
votes
1answer
86 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
58 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
63 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 ...
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 ...
8
votes
3answers
1k views

Plotting a 2D shape along a 3D parametric function curve

Say I have a 3D curve that is parametrically defined. How would I be able to plot shapes like figure 8's whose centers are aligned along the 3D curve? Say the curve was: ...
11
votes
2answers
9k 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 ...
4
votes
0answers
49 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 ...
4
votes
3answers
132 views

Showing results of the previous value in Manipulate plot

I want to show a multi-variable Manipulate plot with the current and last setting together but not using Bookmarks as I want to ...
0
votes
1answer
56 views

ListLinearLogPlot doesn't work [closed]

So I'm trying to plot my data using ListLinearLogPlot. ...
0
votes
2answers
117 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
1answer
878 views

Circular membrane vibration simulation

I'm new in Mathematica and I'm trying to simulate the vibration of a circular membrane for math project but I don't even know how to start. The wave equation describes the displacement of the ...
1
vote
1answer
119 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. ...
2
votes
1answer
455 views

Understanding the difference between matrix indices and image coordinates in context of ListDensityPlot

In Mathematica help it's written that: ListDensityPlot[array] -> generates a smooth density plot from an array of values. ...
4
votes
2answers
81 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 ...
1
vote
1answer
104 views

How to make a ListLinePlot from part of data? [closed]

a) I have tide data for 1 year (365 days). It is easy if I only make a graph for all data using ListLinePlot. The structure of the tide data are: rows = 365, and ...
0
votes
1answer
52 views

Stretching a parametric plot [closed]

I am trying to plot the simple parametric function given by ParametricPlot[{0.5 x (1 - x^2), 0.5 x (1 + x^2)}, {x, 0, 0.75}, AxesLabel -> {a, b}] ...