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

learn more… | top users | synonyms (4)

6
votes
3answers
318 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
180 views

Adding arrows in curves

Let's consider the following case ...
1
vote
1answer
63 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
176 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
56 views

How to include confidence intervals into ProbabilityScalePlot?

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

Adding labels and numbers in axes

Let's see the following test case ...
-1
votes
2answers
68 views

Why it is not filling to axis? [closed]

Here is the code, ...
1
vote
0answers
74 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
89 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
337 views

Joining ordered set of points with splines in spiral

I have a collection of points ...
6
votes
3answers
140 views

Weird output of DistributionChart

I have a larger data set and want to display it using DistributionChart. ...
4
votes
1answer
103 views

Visualization/colorization of many outliers in a BoxWhiskerChart

Imagine a larger data set which I want to display using BoxWhiskerChart. ...
2
votes
1answer
88 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
79 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
88 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
120 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
304 views

How to eliminate the white gaps in the graph

Here is my code ...
3
votes
1answer
97 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
43 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
22 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 ...
1
vote
1answer
95 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
187 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
51 views

Dealing with implicit function

I encounter a big problem when I use Mathematica to deal with implicit functions. ...
10
votes
3answers
307 views
8
votes
1answer
297 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
58 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
80 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 : ...
18
votes
3answers
653 views

How to make a 3D topographic globe?

I've made some attempt with this dataset of elevation. But I have some trouble with ListSurfacePlot3D, which can not show the globe correctly: And I've checked that the data is out of problem, ...
2
votes
1answer
78 views

ListLinePlot scientific notation in y axis

I am working with mathematica 9.0 and I want to make a plot importing data from a .dat file. My issue is that I don't know how to show y axis in scientific notation. My values run from 0 to approx ...
1
vote
1answer
77 views

ListContourPlot3D blank box?

I have a (long) list of {x,y,z,f} values generated using a finite element software package. I've tried using ...
2
votes
3answers
147 views

How to change the filling color under a plot according to a value?

Mathematica has an option to fill the space under a curve with a value: ListLinePlot[Transpose[data][[1]], Filling -> Axis] I have a dataset ...
1
vote
0answers
37 views

Individual ColorFunction with RGBColor

I want to create a special ColorFunction with RGBColor for my DensityPlot. A nice example is ...
5
votes
1answer
120 views

Hyperbola plotting near real boundary

Plotted region above x-axis is jagged due to presence of Sqrt for y coordinate entailing delay in determining onset of real values. There is some improvement with higher number of points chosen,but ...
3
votes
1answer
49 views

Are there more pre-existed ColorFunction options?

I mean such as "DarkRainbow","Rainbow","BlueGreenYellow" and"NeonColors",If yes,Please tell me how to find them. Sorry for my poor English.
5
votes
3answers
190 views

How can I plot the frequency of list items?

How can I plot the frequency of list items such as?: ...
1
vote
1answer
69 views

Invisible plots

Im trying to plot the following. ...
4
votes
1answer
152 views

Creating a three dimensional fullerene molecule

How do I modify the following program to create a nice coloured molecular plot of C60 or fullerene as shown in the attached figure This figure was retrieved from ...
1
vote
3answers
116 views

Plot Epilog FindMaximum

So I have this: a=14; max = FindMaximum[x^3 - a x^2 - x + 1, {x, -2, 15}] (* {1.01781, {x -> -0.0355787}}*) And I plotted this: ...
3
votes
3answers
59 views
3
votes
1answer
143 views

How to plot a Circles-and-Squares fractal

The Circles-and-Squares fractal is produced by iteration of the equation $\quad \quad z_{n+1}=z_n^2\ ({\rm mod}\; m)$ which results in a Moiré-like pattern: Source: Wolfram MathWorld In ...
2
votes
1answer
70 views

Show command missing red dots from one of the function

I am facing an issue when trying to use Show command to show multiple graphs within one graph. Show command only shows red dot from one of the graph. ...
2
votes
1answer
115 views

Custom SmoothHistogram3D

I decided to make my own SmoothHistogram3D function because I wanted to be able to specify my own bin sizes and not rely on their distribution functions so taking a cue from this answer and bringing ...
2
votes
2answers
67 views

Why legendmarkers shifted a few pixels after opacity is specified

In below simple graph, if an opacity is specified in the legendmarkers, the plot marker shifted a little bit, can someone please shed some lights? ...
1
vote
1answer
69 views

How to draw the trajectory of a moving particle

I want to draw a 3D graph showing a nanoparticle movements in liquid environment. Basically,the code is like the followings. I used Table to generate the position coordinates instead of using the ...
3
votes
1answer
85 views

How to draw multi curves in a graph with errorbars

The curves are composed by several 2*n nested lists. I want these curves be placed in a 3d way, like the xy plane is for the data, different curves are located in several parallel xy planes with ...