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

learn more… | top users | synonyms (4)

4
votes
1answer
74 views

Drawing disk with coordinates from NDSolve

I have simple Manipulation expression, but continuously getting error Coordinate {x[0.], y[0.]} should be a pair of numbers, or a Scaled or Offset form. I assume that something is wrong with ...
2
votes
1answer
54 views

Dynamic interaction with a 3D plot

I have a function: C = 0.0625 + 0.0008*X - 0.0232*Y - 0.0157*Z + 0.0059*X^2 + 0.0112*Y^2 + 0.0160*Z^2 - 0.0063*X*Y - 0.0243*X*Z + 0.0211*Y*Z This equation ...
6
votes
1answer
89 views

How to make several DateListPlot have the same scale?

I want to plot some weather data series. Unfortunately the series were collected in different episodes, from which some overlap. I would like to plot them as different plots in a column, but with ...
3
votes
2answers
144 views

QuantilePlot silliness

When I do a quantile plot of two large data sets (in my case, each of them of size around 3 million), the resulting notebook cell is huge, and if you save it as PDF, the resulting PDF is 13MB in size. ...
5
votes
3answers
298 views

How can I obtain a smooth curve from my data but preserve two inversion points

I have a list of data points, {x, y}, my data. When I plot them, the curve is jagged. I want to smooth the curve and preserve the two sharp corners. This is a plot ...
0
votes
0answers
98 views

A question about 3D Plot

I am a new user and i would appreciate your help to visualize the 3D of the following function. Also, i need more rep to add a picture. Thank you. For every odd number on the form $n=pq$, where ...
4
votes
3answers
178 views

Contour plot with points and line together

I have drawn a contour plot like attached in the figure. Now, what I want is points along with the contour lines. For example: I have a data set like: ...
4
votes
2answers
83 views

Epilog with text not shown

I use the Epilog option in order to print in the vertical axes a label between 0 and 20 as follows ...
2
votes
5answers
168 views

How can I plot a transcendental equation with an arbitrary constant?

I want to find the solutions to $\sqrt{\frac{c^2}{x^2}-1}=-\cot(x)$ graphically. This is how I'm going about doing it: ...
4
votes
2answers
109 views

Fill curve betwen specified abscissa points [duplicate]

I am plotting the Maxwell-Boltzman distribution of molecular speeds. I want to be able to select a region to integrate using a manipulate function. Then I want to have that same region filled in on ...
2
votes
4answers
121 views

How to use the same PlotRange and the same PlotLabel size for a sequence of Graphics?

I wish to use ListAnimate to show a sequence of plots with different plot ranges and differently sized plot lables, all unknown in advance, in a way that keeps the ...
7
votes
0answers
88 views

Plotting extra parametric axes

We are trying to plot a figure as below from data points. This version is a postprocessed plot (in Illustrator) just to obtain the skew axes. The rest is plotted with ...
0
votes
0answers
96 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: ...
1
vote
1answer
196 views

Using mathematica to understand linear algebra

What is the reason why this does not work, as you can see there is three unknown and I want to see the planes. I have looked through the user manual but there is something that I am not realising! ...
15
votes
3answers
316 views

Dataset seems unable to handle ListDensityPlot and ListContourPlot

If I create a Dataset: ...
2
votes
1answer
62 views

RecursionLimit error when Plotting a recursive function

Why am I getting the error $RecursionLimit::reclim: Recursion depth of 1024 exceeded. >> when I try to plot this fib Fibonacci function in Mathematica? ...
4
votes
1answer
66 views

Can't Get BarChart to use ColorFunction

I'm trying to get a BarChart to colour negative valued bars red and positive valued bars green but I'm having a time trying to do it. My latest attempt is: ...
1
vote
2answers
134 views

Eliminating the Parameter: Transform parametric equation to Cartesian equation and draw arrows along parametric growth

Hey guys I really could use some help on this calc 3 problem. I'm stuck on how to write the code for this problem: a) Eliminate the parameter to find a Cartesian equation for a parametric curve. b) ...
0
votes
0answers
68 views

Is it possible to have more than two vertical axis in Mathematica 2D plots? [duplicate]

Is it possible to have more than two vertical axis in Mathematica 2D plots? This is possible for example in matplotlib: http://matplotlib.org/examples/axes_grid/demo_parasite_axes2.html EDIT: the ...
0
votes
1answer
78 views

Flatness of a Plot [closed]

How can I see that plot of f[x_] = x^10 - 10*x + 9 on {-4,4} has flatness in x = 0 with good ...
2
votes
3answers
322 views

computing gaussian curvature

Can gaussian curvature K be computed from WolframAlpha or any other available Mathematica ...
3
votes
1answer
89 views

Unexpected Behaviour at Plotting Floor with Plot

I wanted to plot a function involving Floor, here is my code: epsilon = 0.1; f[t_] = Floor[t/epsilon]; Plot[{f[t]}, {t, 0, 5}] ...
0
votes
0answers
52 views

Why am I getting an empty plot from the solution of my PDE? [closed]

I am a user of Mathematica so very confused about an empty plot I am getting when solving a 2D elliptic PDE with boundary conditions. I am using Mathematica version 8.0.4.0. Just for information, the ...
1
vote
1answer
78 views

ParametricPlot: Can't use Ticks

So, basically I'm trying to plot the phase portrait of a 2x2 diff system, but the parameters are a pain. I'm trying to get a good picture of the orbits, but even if ...
1
vote
1answer
79 views

Trying to get multiple curves on single Bode plot [closed]

OK, we have this thing where we are supposed to compare three Bode plots. All we have to do is plug in different resistance values on the RLC circuit and and talk about why the shapes are different. ...
11
votes
4answers
381 views

Using an Image as the Fill/Texture (not background) of a Plot (not polygon)

Is it possible to use an image, rather than a color, or ColorFunction, as the filling for a plot? For instance, I want to make a plot using ...
2
votes
1answer
105 views

How to correctly map values onto an arrayplot

I want to understand why the order of the text is reversed from what it should be? If I compare the first and second results, I see that the {1,1}, {2,2},... diagonal is going down the wrong diagonal. ...
2
votes
0answers
61 views

Constructing primitive cell using information from ChemicalData

I would like to construct a primitive cell (figure shown) and possibly the two-dimensional layout (figure from http://en.wikipedia.org/wiki/Transition_metal_dichalcogenide_monolayers) using the ...
2
votes
1answer
170 views

How to plot torsion prismatic beam

I dont know why dont work but I want to animate torsion prismatic beam. ...
3
votes
2answers
152 views

Plot: Show specific values in y axis

I need to plot a list of points and I am using ListLinePlot. Mathematica decides which values on the y axis are labeled. How can I show labels for the exact y ...
0
votes
2answers
55 views

Is it possible to place a shape at each point in my array? [closed]

I have an array of points in 2D, I'd like to plot them marking each point with a square whose size and colour I can edit. I am sure that this is possible I am just new to mathematica and would greatly ...
1
vote
0answers
37 views

x86_64 Linux: plotting feature [duplicate]

Some features with V10.0.1.0 plotting under x86_64 Linux (xubuntu 12.04 & 14.04). I use ListPlot, but I also see this using other Plot functions. Generate some data: ...
2
votes
2answers
101 views

How to Plot a Series

I would like to plot f1[x_, n_] := Sum[Sin[(2 j - 1) x]/(2 j - 1), {j, 1, n}] on a single plot containing f1(x,50), f1(x,100), f1(x,1000), with three different ...
2
votes
1answer
150 views

Plotting 3D Vector Field in one plane

I want to plot a vector field F={Fx, Fy, Fz}. However, I only want to plot it in one plane (say, z=0). When I use ...
0
votes
2answers
65 views

Spherical parametric plot

How can I plot such a parametrized curve: $r = 2cost + sint$ $\theta = t$ $\phi = sin10t$ where $0<t<\pi/2$. In the documentation only has been discussed parametric plot in Cartesian ...
7
votes
2answers
196 views

Why PlotStyle->Dashed make everything dashed?

Bug introduced in 10.0.0 -- appears to affect Linux only. It has been really strange for me. I am not sure it's regression after v10.0.1, or something went wrong with my system. After running this ...
2
votes
2answers
88 views

Controlling PointSize in a RegionPlot

I have a "named" point in Mathematica 10 and am plotting it like this using RegionPlot: ...
-1
votes
1answer
53 views

Labeling named point in Mathematica 10 [closed]

I have a "named" point in Mathematica 10 defined like this: point["camp location"] = Point[{latitude, longitude}]; I assume there is some way to make the name of ...
0
votes
0answers
20 views

Plotting vector fields in polar coordinates [duplicate]

I need to plot this as a vector field. $\mathbf{V} = \frac{D}{r^{2}}(\cos(\theta)-u\cos(\theta))\mathbf{\hat{r}} - 2*u\sin(\theta)\boldsymbol{\hat{\theta}}$ How do I make a vector field plot out of ...
3
votes
0answers
118 views

FindPeaks with noisy data

I am trying to understand the FindPeaks function in V10. I have two questions. Here is some measured data with noise. ...
0
votes
1answer
42 views

Plotting polyhedra faces with polygons removed from the interiors of the faces

I have dozens of vertices and dozens of faces which is why I use the v={};i={} and Graphics3D and ...
1
vote
1answer
36 views

Graph labels are outside the plot area and other aesthetic considerations [closed]

The label of the rightmost element is clipped by the plot edge. ...
14
votes
5answers
348 views

Different results between V9 and V10 when using Style with Listplot

Consider this example: data = Table[{x, x^2}, {x, -2, 2, 0.1}]; ListPlot[Style[{#1, #2}, PointSize[Abs[#2]/50], Hue[#2]] & @@@ data] the results from V9 and ...
10
votes
1answer
598 views

Curve fit based on minimal data

Inspired by the fantastic answers here and here, I would like to ask a questions along similar lines. I have 6 curve types that follow these rules: Type A: If point 1 is positive and point 2 is ...
6
votes
3answers
315 views

Getting a custom bezier curve function to work

In general, $nth$-degree Bezier curve defined as below: $$\vec{C}(u)=\sum_{i=0}^{n} B_{i,n}(u) \vec{P_i} \qquad 0\leq u\leq1$$ $B_{i,n}(u)$ is the classical Bernstein polynomials, ...
3
votes
1answer
75 views

Why does BernsteinBasis not plot correcly?

I want to use the built-in function BernsteinBasis to learn about Bezier curves. I tried the following: ...
-1
votes
3answers
87 views

Using Plot inside If statement [closed]

I would like the function f(x,t)=x+t to be plotted provided a condition on the running variable `t' is satisfied. This is what I tried: For[t = 1, t <= 10, t = t + 1, If[t == 5, Plot[{x + t}, {x, ...
5
votes
4answers
170 views

Control PointSize on a ListPlot

When I thought to vary PointSize on a ListPlot, I expected to find it trivial to do. I've likely overlooked something simple, ...
5
votes
1answer
179 views

Adding arrows in curves

Let's consider the following case ...