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

learn more… | top users | synonyms (8)

7
votes
2answers
190 views

Panning by moving Origin (0,0) with Mouse

Given a 10 by 10 grid like the one below and the axis origin somewhere on the grid, I would like to be able to place the mouse pointer at the axes origin (0,0), then press and hold the mouse button ...
4
votes
3answers
124 views

How do I plot EventSeries?

The documentation that I can find suggests that I should be able to plot an EventSeries with DateListPlot. But this doesn't work ...
4
votes
2answers
68 views

putting two lists in one ListLogPlot by one modified list

I imported two sets data one: ...
4
votes
1answer
77 views

Joined line does not match with PlotStyle

If I have a list data (http://pastebin.com/RgWLJmTS) which is about to be plotted with ...
1
vote
1answer
72 views

Joined-True cuts data to be plotted

I have imported data (which are so many numbers and if necessary please see http://pastebin.com/RgWLJmTS) and I plotted them with ...
3
votes
1answer
76 views

SmoothHistogram3D with a ColorFunction representing z-values of the data set

I'd like to make a 3d plot of a list of {x, y, z} points, where the height of the plot scales with the density (as in histogram) of the xy-values and the color ...
10
votes
4answers
493 views

Revolution of Koch Snowflake

How to plot shape which made from revolution of the Koch Snowflake? I try to use $RevolutionPlot3D[f,\lbrace {t,t_1} \rbrace]$, but I think there is no $f$ for Koch Snowflake. Sorry for my ...
5
votes
4answers
138 views

How to correct the name of axis?

In the output of a code I can view that the same axe has two names "z" and "x". How could I correct this? The code is ...
3
votes
2answers
121 views

Changing location and direction of axes

I need to produce a plot that looks something like this: from a function definition where z (the vertical axis) is the independent variable. I can easily invert ...
0
votes
1answer
83 views

Manipulate a graph from data

I want to manipulate some data, to do this i create a graph. But i don´t know how to manipulate the data. ...
3
votes
2answers
91 views

ListPlot: Adding Line with Epilog to automatic GridLines - adjusting Style

I want to draw ListPlots with automatic GridLines and add a custom line. My solution is to use the Epilog option. To make sure that the automatic GridLines and my custom line have the same style, I ...
5
votes
1answer
228 views

How to plot graphics objects such as lines or polygons logarithmically

I am making ListLogLog plots with polygons in the Prolog and lines in the Epilog, and I want ...
3
votes
1answer
100 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
56 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 ...
3
votes
2answers
155 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
72 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
170 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
59 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
5
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
118 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
41 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
405 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
85 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 ...
5
votes
3answers
235 views

What is causing these artifacts in RegionPlot3D?

I have a simple program like this: ...
0
votes
1answer
39 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
57 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
68 views

Adding digits to tick mark labels

Consider: ...
0
votes
0answers
58 views
3
votes
1answer
115 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 ...