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

learn more… | top users | synonyms (5)

2
votes
0answers
104 views

Defining a hole in a 2D surface? [closed]

I have a list of {x,y,z} data: ...
1
vote
1answer
88 views

How to Create an Empty(ish) Graph to Overlay Graphs on using Show?

I hobbled together a For loop to create a series ListLinePlots and appended them to a list to display them with the Show function. My problem is I have no control over the images viewable domain and ...
0
votes
1answer
57 views

Plotting data from specific column

I have data like this: 1406998993.147 73 TCP_MISS/200 22284, 1406998993.158 109 TCP_MISS/200 83827, 1406998993.197 111 TCP_MISS/200 57020, If I want to plot the column 1 and ...
3
votes
2answers
164 views

Different between two graph in the Polar Plane

How can I plot $\theta=\cos r$ in polar plane? Of course I know that is different with $r=\cos \theta.$
12
votes
2answers
385 views

Modify existing color scheme

I am using the "TemperatureMap" color scheme for image processing. How can I set the lowest color value to Black? Generally ...
0
votes
0answers
30 views

Plotting center of mass point in a solid hemisphere? [duplicate]

I have been trying everything I can find online but I seem to be stuck trying to plot a center of mass point within a solid unit sphere with z >= 0. I have the center of mass point already but I ...
1
vote
1answer
96 views

What's wrong with this tutorial? [closed]

Disclaimer: This code is not mine. Source. I'm trying to follow along with it, though, but it seems that this code no longer produces a working manipulatable plot at the end -- and I'd like to know ...
0
votes
1answer
67 views

Specify the ratio of axis precisely [duplicate]

When I want to have equal length of the units on both x and y axis, I can use AspectRatio -> Automatic. But when I need the unit of x axis have length twice than ...
5
votes
2answers
513 views

Plotting a contour line in 2d on a 3d surface

I have a list of data which I can plot as a surface with ListPlot3D. Moreover I have a set of other surfaces and I have plotted the projection of their intersection ...
0
votes
0answers
25 views

Filling not working when function in SetDelay [duplicate]

I want to use Plot with a SetDelay. Then Filling does not work. In the following, the first works, the second does not. I would like to get the second to work: ...
0
votes
2answers
720 views

How to find volume of an egg [closed]

I am a first time user of mathematica. I've been trying to figure out how to find the volume of a) f(x)=(ax^3 + bx^2 + cx + d)sqrt(1-x^2). I have been scouring the internet for a solution on how to ...
1
vote
1answer
126 views

Plotting multiple curves on a surface

I'm reading about non-euclidean geometry, and I tried to visualize hyperboloid model of hyperbolic geometry using Mathematica. What I need to do is to accent intersections between hyperboloid $x^2 + ...
0
votes
0answers
96 views

Showing contours on top of a ListPlot3D

I have a ListPlot3D that currently has the default settings for mesh. Instead I would like to show a contour plot on the ...
3
votes
1answer
334 views

Define and plot a piecewise function with parameters [closed]

I have this function , but i do not know how to define it in mathematica \begin{equation} f_t(x)=% \begin{cases} i& \text{$\frac{1}{1+i}<|x-t|\le \frac{1}{i}$} \\ ...
3
votes
0answers
147 views

Fractals or other patterns in the quadruple linked pendulum

This will seem like a physics question, but I'm looking for something to do in Mathematica specifically. I've successfully modeled a quadruple linked pendulum by setting up the ODEs and solving them ...
0
votes
0answers
56 views

Mathematica Numeric Output

I'm using Mathematica to compute barycentric coordinates, and the output for my points is not being computed, but rather it just shows it in the form that I inputted as. For example, I have: ...
3
votes
2answers
128 views

How to change plotting options while using Map

I have multiple series, which I want to plot using ListLinePlot and Map. For example ...
2
votes
2answers
237 views

How do you create such an animated GIF via Mathematica?

Is it possible to create such kind of GIF via Mathematica?
2
votes
1answer
53 views

Order of display of AppearanceElements

I am using Animate and want the order of the controls to be ...
2
votes
2answers
118 views

ListPlot a bunch of points that changes colour

I have a list of points: r = Range[-Pi/2, Pi/2, Pi/8]; angles = (c = Tuples[r, 2]) and a list of numbers which will determine the colour of the points above: ...
0
votes
0answers
81 views

Plotting Poincare sections for a pendulum

Now before you direct me to this page, I'll start by saying that I'm not really using Hamiltonian mechanics to do this problem. I've already done the Lagrangian and I have solutions for both angles. I ...
0
votes
2answers
68 views

How to make a density plot with composed functions [closed]

I want to create a monochromatic density plot of the E-field around an optical vortex. To do this I've written ...
4
votes
2answers
155 views

Match colors to plot themes

How do I get the colors to match the plot theme when I use a PlotLegend that is separate to the plots? I have had a look at How to access new colour schemes in version 10? but can't seem to find what ...
2
votes
1answer
113 views

How do I find out what a Mathematica function is doing (which numerical method it uses and how)?

Long story short, I am working on a project which entails fixing a bug I have found in Mathematica (8 and 10). In general, I would like to know what a specific Mathematica function is actually doing ...
3
votes
2answers
167 views

Plot graphs together Using ListPlot

How can I plot two graphs together generated from ListPlot or ListLinePlot command, both t and s have the same number of elements. I thought Show would solve the problem however it does not, it just ...
1
vote
3answers
154 views

ListPlot - coloring negative and positive points

how to create a point graph(ListPlot?), where the positive values will be BLUE, negative RED and 0 values will be green? Thanks.
5
votes
1answer
122 views

What are the arguments supplied to ColorFunction in MandelbrotSetPlot?

On the document of MandelbrotSetPlot, it said: With ColorFunction->f, where f is a function, the argument of f is a real number in proportional to the number of ...
0
votes
2answers
129 views

Plot column 1 against list of columns in column 2 (ListPlot)

I want to generalize this plotting command: Show[ListLinePlot[data1[[All, {1, #}]] & /@ columnlist] which takes a table “data1”, defined as: ...
1
vote
1answer
83 views

Delineate a Subset of Values on a 3D surface plot

This is building on a question previously answered by Rahul recently. I have a particular 3D surface plot on which I wish to delineate where z (the function) is between the corresponding x value and ...
8
votes
1answer
186 views

Four-way logarithmic plot

Say I have a dataset named "d" ...
0
votes
1answer
101 views

How to add horizontal, strecthed curly brace to plot? [duplicate]

I would like to refer to certain ranges of the x axis with the help of of some appropriately stretched and placed curly braces. I cannot figure out how to place a appropriately rotated and stretched ...
2
votes
1answer
138 views

Smooth animation of ListLinePlot

I have a sequence of 2D-points from uniformly sampling a time dependent process and plot this sequence with ListLinePlot. For example: ...
0
votes
0answers
29 views

Positioning axis label in Plot3D [duplicate]

...
0
votes
2answers
59 views

Represent Infinities in List Ploting

I'm trying to plot a big imported list of data as a result of a simulation, however some of the values are Infinity (represented by "xxx" for example), currently I'm replacing those "xxx" with a "out ...
1
vote
0answers
44 views

An Exclusion Question [duplicate]

I start with the following: sol = DSolve[{y'[t] == y[t]^2 - y[t], y[0] == c}, y[t], t]; y[t_, c_] := y[t] /. First[sol]; The output is: Solve::ifun: Inverse ...
1
vote
1answer
54 views

Creating varying dot size in a ListPlot based on weighted data

So i am producing a linear regression using weighted data and want to represent that visually with data points with higher weight being represented by a larger size dot in a ListPlot, Is there any way ...
2
votes
2answers
137 views

Stirling Approximation in Mathematica

I want to plot to show how accurate is Stirling approximation in Mathematica by plotting the Percentage error against n. I want to take the value of n at the interval of 10 starting from 10 to 1000. ...
5
votes
1answer
159 views

Unexpected result when using PlotRange in Mathematica 10 [closed]

Show[ Plot[x, {x, 0, 1}, PlotRange -> All], Frame -> True, PlotRange -> {{0, 1}, {0, 1}}, AspectRatio -> 1] gives the expected result in ...
0
votes
3answers
174 views

How to label Ticks in ListDensityPlot

I have some discrete data and want to make a density plot as ...
1
vote
1answer
96 views

How to group box-and-whisker in parallel for comparison in BoxWhiskerChart?

I have two collections of data: xdata and ydata ...
2
votes
2answers
99 views

How do I create a color plot that varies with angle?

I want to create a plot with a hue that varies as $l\theta$. $l$ is an integer and $\theta$ is measured modulo $2\pi$. My specific case is $l=10$, but I want to be able to vary $l$ as well. I have ...
3
votes
1answer
122 views

How do I plot a line delineating a subset of values on a 3D surface plot?

I have the following surface plot: ...
0
votes
1answer
74 views

3D sphere plot, along with singular points [closed]

I have very little experience with mathematica, what I am trying to do is plot 4 points on 3D axes, say a,b,c,d and then also plot a sphere radius r centred on a. Any help would be much ...
0
votes
1answer
57 views

TraditionalForm for PlotLabel with a parameter

This is a simple variation/spin off of this question, but I am having trouble. In the second example in the original question, I'm trying to get the $a=$ in the ...
0
votes
1answer
184 views

How to export figures with normal spacing in texts?

My OS is Ubuntu 14.04, and I use MMA 10. I export a figure ploted in MMA to a pdf file and then import the pdf in Latex, here is the sreenshot As you can see, the spacing in the text is odd. But ...
1
vote
2answers
191 views

How to obtain the best possibe NonlinearFit

Here is some sample data ...
1
vote
2answers
102 views

Why `Plot` does not obey the `AspectRatio` specification? [closed]

I am plotting the density function of a beta distribution and I specify that aspect ratio should be one. I expect the x and y axes should have the same scale (unit length), but it turns out not. How ...
22
votes
1answer
367 views

Visual representation of a Ranking over time (image provided)

[Disclaimer: I initially posted this question on stackOverflow 2 months ago and think it might be better suited for this forum (link to original question)] The graph below shows a ranking of ...
1
vote
2answers
121 views

Custom list plot ticks

Not as exciting as the buttocks question, but ... For some list log plots, it is faster to calculate for certain log values. eg: ...
12
votes
2answers
252 views

Combine Stereographic “Entity” Plot of Arctic Sea with Contour Plot

In the announcement of Mathematica 10 there were some very cool features for every geo-related researcher. Like this one what i'm trying to do is to overlay an ContourPlot onto this beautiful arctic ...