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

learn more… | top users | synonyms (8)

12
votes
0answers
192 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
1answer
287 views

Order contour points in clockwise

I want to describe shape of an object using contour points descriptor. Given a silhouette (image black white of an object), I extrait the contour points using EdgeDetect[] fonction. After that, I need ...
1
vote
1answer
231 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! ...
1
vote
1answer
91 views

Strange functioning of RegionPlot with Reduce's output

I have defined this two quantities: f = (-b + Sqrt[b^2 + 4 a])/(2 a) g = (-b - Sqrt[b^2 + 4 a])/(2 a) and I want to solve this system in function of $a$, for ...
2
votes
2answers
2k 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) ...
2
votes
1answer
94 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
117 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: ...
12
votes
4answers
644 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 ...
4
votes
1answer
120 views

Unexpected Behaviour at Plotting Floor with Plot [duplicate]

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}] ...
2
votes
1answer
137 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. ...
1
vote
1answer
109 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 ...
2
votes
1answer
243 views

How to plot torsion prismatic beam

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

In version 9 PlotLegends, how can I remove the strange edges that appear around LegendMarkers?

I'm running Mathematica version 9. I am using ListPlot to plot two sets of data. For each data set, I am using different ...
3
votes
2answers
432 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 ...
6
votes
2answers
207 views

Plot more points only in specific region of plot

I have the code shown at the bottom of this question which generates a 3D plot. There are locations where the two surfaces you see form cones and touch at infinitesimally small points. These points ...
2
votes
2answers
163 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 ...
1
vote
0answers
38 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: ...
5
votes
1answer
287 views

Problems with RootLocusPlot

I am having some trouble to understand how the RootLocusPlot works (options, drawing and etc.) Here is an example ...
4
votes
3answers
2k views

How to fix BodePlot that comes with Mathematica?

I am using Mathematica to go through the examples and exercises on the book Modern Control Systems, 6th edition by Dorf. On page 605, there is a table (Table 8.5) with the Bode plot for several ...
2
votes
1answer
825 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 ...
2
votes
2answers
157 views

Controlling PointSize in a RegionPlot

I have a "named" point in Mathematica 10 and am plotting it like this using RegionPlot: ...
3
votes
1answer
79 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
vote
1answer
91 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 ...
14
votes
5answers
394 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 ...
21
votes
3answers
1k 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, ...
5
votes
4answers
511 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, ...
8
votes
1answer
2k views

Adding arrows in curves

Let's consider the following case ...
0
votes
1answer
765 views

PDF of binomial distribution and mixed binomial distribution

I want to plot the PDF of binomial distributed function and a mixed binomial distributed function, therefore I entered for the binomial distribution function the following: ...
1
vote
1answer
128 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 ...
14
votes
4answers
4k views

Why are PlotLegends not combined with Plots?

I'm using PlotLegends in v9. It seems that in the documentation examples, plots and legends are combined into one graphic: Here's an example from ...
2
votes
3answers
190 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 ...
7
votes
2answers
323 views

listplot very large numbers

Suppose we have the following function: NN = 150; W[n1_] := NN!/(n1 ! (NN - n1!)) (1/2)^n1 (1/2)^(NN - n1) Then we can Plot or Listplot it: ...
2
votes
0answers
145 views

How to include confidence intervals into ProbabilityScalePlot?

I use ProbabilityScalePlot[data, "Weibull"] to plot measured data and ...
9
votes
4answers
390 views
4
votes
1answer
181 views

Visualization/colorization of many outliers in a BoxWhiskerChart

Imagine a larger data set which I want to display using BoxWhiskerChart. ...
6
votes
3answers
209 views

Weird output of DistributionChart

I have a larger data set and want to display it using DistributionChart. ...
3
votes
2answers
532 views

Adding labels and numbers in axes

Let's see the following test case ...
3
votes
2answers
592 views

How to get axes labels with PlotTheme->“Scientific”?

I'm liking the new plot themes in Mathematica 10, but finding that I can't override the options it sets. For example, ...
3
votes
4answers
195 views

Plotting recursive from a for loop

our assignment is that we have make a plot for the possition of 1's From the recursive function if a[n-1] is even then ...
1
vote
0answers
118 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 ...
1
vote
1answer
89 views

Why does one Monitor expression work while another fails?

I have a (somewhat involved) function f[x?NumericQ, y?NumericQ] and for some reason it behaves differently when given a Table ...
2
votes
0answers
122 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, ...
2
votes
1answer
163 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
207 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) ...
2
votes
2answers
235 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, ...
4
votes
1answer
342 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
354 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 ...
3
votes
1answer
125 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 ...