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

learn more… | top users | synonyms (4)

2
votes
1answer
110 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
48 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 ...
4
votes
1answer
54 views

Why PlotStyle->Dashed make everything dashed?

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 simple code ...
2
votes
2answers
75 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
47 views

Labeling named point in Mathematica 10 [on hold]

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
18 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
1answer
87 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
36 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
31 views

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

The label of the rightmost element is clipped by the plot edge. ...
14
votes
5answers
310 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 ...
1
vote
0answers
176 views
+200

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 ...
5
votes
3answers
291 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
70 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
82 views

Using Plot inside If statement [on hold]

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, ...
0
votes
0answers
52 views

Plot x as function of y and y as a function of x [on hold]

I'd like to plot a 2-D graph with "s" on the vertical axis, and "r" on the horizontal axis. But I wish to plot two functions: psi1[s,delta], and psi2[r,delta] where delta is a parameter I wish to ...
5
votes
4answers
160 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
155 views

Adding arrows in curves

Let's consider the following case ...
1
vote
1answer
59 views

Manipulating multiple parameters in a ParametricPlot

The question is not specific, but not entirely non-specific. Please suggest how to compactly re-code and generalize ParametricPlot command to push in one more parameter ...
5
votes
3answers
166 views

How can I add labels to the points in my scatterplot?

So I'm creating a scatter plot of a large data array, but need to be able to determine which points are where when I look at the plot, so I'm trying to add labels to them. ...
2
votes
0answers
51 views

How to include confidence intervals into ProbabilityScalePlot?

I use ProbabilityScalePlot[data, "Weibull"] to plot measured data and ...
2
votes
2answers
130 views

Adding labels and numbers in axes

Let's see the following test case ...
0
votes
0answers
50 views

ListPlot and ListLinePlot, show nothing, how can I plot correctly? [closed]

I'm trying to plot a graphic using a list of pairs, i.e., {{x1,y1},...,{xn,yn}} but nothing appears in mathematica notebook. I used the following commands and list: Does anyone can help me please, ...
-1
votes
2answers
67 views

Why it is not filling to axis? [closed]

Here is the code, ...
1
vote
1answer
70 views

Real time visualization of parametric plots

I wish to see the following curve develop in real time. f = {Cos[s/Sqrt[2]], -Sin[s/Sqrt[2]], s/Sqrt[2]} ParametricPlot3D[f,{s,-2Pi,2Pi}] I tried to get ...
2
votes
0answers
85 views

Weird glitch again!

I have been struggling with these glitches for two days... A related question I asked is here How to eliminate the white gaps in the graph Here is the code, ...
11
votes
5answers
298 views

Joining ordered set of points with splines in spiral

I have a collection of points ...
5
votes
3answers
129 views

Weird output of DistributionChart

I have a larger data set and want to display it using DistributionChart. ...
0
votes
0answers
54 views

How to find equations of motion and plots? [closed]

I'm doing a project where I need to map the motion of pendulum attached to a spring. I have successfully got the Euler-Lagrangian and both motion but I am having trouble solving the differential ...
4
votes
1answer
97 views

Visualization/colorization of many outliers in a BoxWhiskerChart

Imagine a larger data set which I want to display using BoxWhiskerChart. ...
2
votes
1answer
83 views

How can I load << MathWorld`Curves`?

I'd like to recreate in Wolfram Programming Cloud the plot in http://mathworld.wolfram.com/notebooks/SpaceCurves/Slinky.nb How can I load ...
0
votes
2answers
70 views

Plotting (Graphing) a Quadratic Function with Vertex and Roots

I'm new to Mathematica and I'm not really familiar to the Mathematica functions and the language. Could any of you help me plot a quadratic with the following characteristics: vertex at (1.5, 1.75) ...
3
votes
1answer
76 views

Formatting ticks of axes to scientific format and modifying the labels [duplicate]

I was trying to plot a function, but had a problem with the tick labels staying close to each other (top plot). DiscretePlot[RmvsB[b], {b, bmin, bmax, bstep}] ...
3
votes
1answer
114 views

Indeterminate expression 0^0 encountered

I'm new in Wolfram Mathematica so the the question may seem quite simple. I define the following function ...
9
votes
4answers
300 views

How to eliminate the white gaps in the graph

Here is my code ...
2
votes
1answer
94 views

How to plot a 2-D function of points which is a function of points from the Unit Circle

Consider the set of points $(x,y)$ such that $x^2+y^2=1$. Consider the functions $f(x,y)$ and $g(x,y)$ and I want to plot the set of 2-D points whose co-ordinates are $\left(f(x,y),g(x,y)\right)$. An ...
0
votes
0answers
33 views

Multiple regions on same plot [closed]

Let $x$ and $y$ to be two real variables. Consider the regions $$xy\leq -\frac{1}{2}$$ and $$x^2+y^2 \leq 1$$. I want to see this regions on the same plot with different shadings. How do I achieve ...
0
votes
0answers
41 views

Convergence Problem using FindFit

I have the following input where there is a convergence problem in the FindFit as shown in the attached figure.The figure shows 2 plots: one of the real data and the other of the fitted line. Any ...
1
vote
0answers
20 views

How to update Plot and some output inside NDSolve callback (StepMonitor)

I have the following problem. I am calling NDSolve to solve a system of first order differential equations (nothing fancy), except that the number of equations measures in thousands and the number ...
0
votes
0answers
52 views

How to edit some properties of a figure with show function once we get the handle [closed]

I have a basic question here, I often have a figure like fig=ListPlot3D[] etc, then want to change some options of the figure, I know I can use the Show[fig,Options] to do this, but it often won't ...
1
vote
1answer
93 views

Help explain a piece of code [closed]

I am a beginner of mathematica. I don't fully understand the following code from Another weird plotting result. ...
1
vote
0answers
21 views

Coloring problem in plot3D with transparent texture [duplicate]

I need to plot multiple surfaces with textures. Each texture is a matrix plot with transparent background. In this way, we can see the multiple surfaces from the top. ...
2
votes
2answers
179 views

Another weird plotting result

I asked a question this morning here, which has been resolved. However, I got another problem. I want to add some lines to the graph, which turns out glitched. The code is as follows, ...
0
votes
1answer
46 views

Dealing with implicit function

I encounter a big problem when I use Mathematica to deal with implicit functions. ...
10
votes
3answers
294 views
8
votes
1answer
287 views

Drawing an arrow or a solid dot on a curve?

I want to draw arrows and the solid dot like in this picture on a curve.
2
votes
1answer
51 views

Question about using NDSolve with a matrix equation

I tried to use NDSolve to study a matrix-valued differential backward equation. The following program seems to work: ...
-1
votes
1answer
78 views

Similarity of two plot to each other [closed]

I want get the similarity of two different plot by Percent ... I have many plots for comparison like below : y : ...
0
votes
0answers
41 views

ParametricPlot3D Plotting empty Graph [closed]

I am trying to plot a position function r(t)= sin (2[Pi]t)i + (t^3)j +cos^2 (2[Pi]t)k by inputting ParametricPlot3D[{sin [(2 [Pi]t)], t^3, cos^2 [(2 [Pi]t)]}, {t, 0, 2}] into Mathematica 10.0. ...
0
votes
0answers
36 views

Not getting proper x-values in a ListPlot [closed]

I have a table of data points to be subtracted by another table of data points. I have succeeded in subtracting the y values of each data point successfully, but it is the x values of each data point ...