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
92 views

Plotting expression as function of another expression [closed]

How can I plot $\frac{m}{(M+m)}$ as function of $\frac{m}{M}$? I've tried the regular Plot[] but it didn't work. This is a function of the loss of kinetic energy ...
5
votes
3answers
536 views

Using PlotLegends

Please don't answer this with "Just trash PlotLegends" or anything like that as I have tried homebrew solutions. I keep running into problems which I can't debug as ...
1
vote
1answer
454 views

ErrorListPlot Legend with Markers

I'm trying for some days now to integrate markers in my legend. I have a ErrorListPlot with markers and a legend but difficulties to realize the markers in the legend as well. Thanks a lot for your ...
3
votes
1answer
325 views

Exporting a Video of a Simulation of Pendulum Motion

In a series of previous questions, I asked how to solve a series of differential equations describing a series of coupled pendulums, and then how to plot this data by coloring the different pendulums. ...
5
votes
2answers
213 views

List version of SphericalPlot3D

could you give me some input on how to create a list version of SphericalPlot3D[r[theta,phi],{theta,min,max},{phi,min,max}] When r[] is an explicit analytical ...
5
votes
2answers
669 views
3
votes
2answers
176 views

Click on a curve to start Manipulating another function

I'm able to plot two lists with a tooltip on the curves to display the name of the curve: ...
4
votes
3answers
206 views

How to control the speed in Manipulation

As the title says, I want to control the speed when I use Manipulate. I have the following piece of code ...
1
vote
3answers
879 views

Importing multiple files using a for-loop

once again I am stuck solving a seemingly easy problem :( I would like to make a List of tables by importing data from several txt-Files. Importing the data into a table works so far and I am able to ...
5
votes
2answers
489 views

How can I superimpose a set of points on a ContourPlot?

I am familiar with Mathematica to a certain extent, but its subtleties still elude me. Currently I am trying to solve the following problem: The function $f(x,y)$ is continuous. I know how to create ...
1
vote
3answers
235 views

Fitting data without an equation

Let's say I have some data generated by anything. For practical sake, let's say I was able to generate a sequence of numbers through a recursion and I listed them out through a table of numbers. ...
5
votes
1answer
183 views

Normal Plot (visual test for normality)

I wish to construct a Normal Plot to visually test for normality of data. My data is: {188,199,171,200,219,172,235,194,234,206} And needs to be plotted to look something like this: Whereby ...
0
votes
1answer
322 views

Is it possible to modify the tick marks in BarChart plot?

I need to specify the length of the tick marks on the x axis in a BarChart plot: ...
2
votes
2answers
290 views

Why are these flow lines cut short?

I want to plot some flow lines for a certain vector field, but Mathematica doesn't seem to plot the entire flow line, only a small piece of it. How can I fix this? ...
1
vote
1answer
109 views

Can anyone identify these plots? [duplicate]

I need to produce some plots that look like these but I'm not sure what they are called in mathematica, can anyone identify them ? Update: I want to plot triples of the form (xvalue, yvalue, ...
1
vote
4answers
338 views

ListPointPlot3D seen from above

I have a couple of {x,y,z} points a = {{0, 1, 0.}, {50, 1, 0.018931}, {100, 1, 0.02}, {0, 2, 0.}, {50, 2, 0.131}, {100, 2, 0.2}}; and I'm visualizing them with ...
2
votes
3answers
765 views

Phase space vector field [duplicate]

I have a system of non linear equations and from NDSolve I get the solution. I plot the phase space with ...
1
vote
2answers
497 views

Parametric plot from two NDsolve solutions

I have two independent ODE systems. A = NDsolve[..., {x, y}, {t, 0, 10}]; B = NDsolve[..., {a, b}, {t, 0, 10}]; I can draw a ...
1
vote
3answers
1k views

How do I plot x[t] vs. x'[t] (where x[t] and x'[t] are solutions to NDSolve)?

I have a differential equation which I solved using NDSolve. I can easily plot x[t] vs. t, x'[t] vs. t, but.... how do I plot x[t] vs. x'[t]? I tried using the Evaluate function to simplify things, ...
13
votes
4answers
434 views

Is it possible to select outliers on a graph and determine the index of the outliers?

I have a large data set of experimental data for which I have determined a theoretical fit. However, for some of the experimental data I took, there was systematic error, leading to the data deviating ...
2
votes
4answers
865 views

Plotting a large number of data points

I would like to know how to plot when I have a large number of points (arround 600) in a specific format: ...
2
votes
3answers
236 views

LinePlot in For loop

I have the following Mathematica code to approximate Pi as inspired by the Matlab code in George Zhao Ideas ...
5
votes
1answer
1k views

Plot, extract data to a file

I need to save data that Mathematica uses inside the Plot command. The format that I would like to have is: x1 y1 x2 y2 ..... ...
2
votes
1answer
605 views

Calculating volume [closed]

I'm new in mathematica and I'm stucked on how I can get the volume of a solid created by the inequation: ...
0
votes
1answer
111 views

Problem with displayed coordinates in LogLinearPlot

I have a very weird problem that I don't usually get. I try to plot a set of equations using LogLinearPlot and the Get coordinates right-click menuitem is working ...
1
vote
1answer
2k views

Make a scatter plot from two lists

I have two lists of values xx = {0.1, 0.3, 0.35, 0.57, 0.88, 1.0} yy = {1.2, 3.5, 4.5, 7.8, 9.0, 12.2} I want to make a scatter plot (list plot) with xx as x ...
3
votes
1answer
406 views

Join a piecewise plot

I wrote some code to get a piecewise plot which is displayed correctly. Now I'd like to join the various parts of the plot, using some kind of interpolation, to get a continuous chart even though it's ...
1
vote
3answers
284 views

How to revolve a surface about a line other than the $x,y,z$ axes? [duplicate]

I just started working with Mathematica 8 and I'm having trouble revolving a function the way I want. I have to revolve the function $x^2/4 +2$ and $y= 0$ around $y=6$ to form an ashtray, but I ...
10
votes
4answers
673 views

Coloring Points in a Plot, based on their position in the list

Before I describe the question, I'd like to say that I've seen the excellent answers posted here but have not managed to get them to work for my own data. I have a list of values that I would like to ...
4
votes
1answer
162 views

ContourPlot from Vector Data

I have data in the form of x, y, vx, vy where vx and vy are components of the velocity vector at point x,y. I want to plot a contourplot of this. How can I do that since contourplot asks for three ...
23
votes
7answers
819 views

Graphical representation of a moving sound source

Some explanation since I have got a specific and another more open-ended question: I used two microphones in a 90° arrangement (see picture below) to capture sound from a source moving around the room ...
14
votes
6answers
1k views

X-Y scatter plot with coloring dependent on Z value

I have an array of $(x,y,z)$ triples (array dimensions: N x 3), from which I can make a 2D scatterplot of $(x,y)$ values: ...
3
votes
1answer
263 views

Controlling ColorFunctionScaling

Is there a way to control the scaling of ColorFunction beside just to turn it off and on with ColorFunctionScaling? Two ...
7
votes
2answers
218 views

Tick marks shrinking with ImageResolution [duplicate]

High resolution PNG export is handy for print quality plots, however tick marks are not scaling properly. Does anyone know a solution or a work-around, preferably for M7 (on Win7)? ...
7
votes
1answer
159 views

How to plot inequalities taking into account that points must be integers and not reals?

I have solved with Mathematica 9 the following integer inequalities using Reduce: ...
6
votes
2answers
1k views

Axes Origin & Labels in 3D Plot

I'm looking for a way to have the axes at the origin in a 3D plot and to label the (x,y,z) axes in the usual way---with x near the end of the drawn portion of the x axis, y near the end of the drawn ...
5
votes
1answer
427 views

How to zoom and pan a ListLinePlot?

I'm using ListLinePlot inside a Manipulate function to display some data. I've seen that Mathematica allows zooming and panning ...
2
votes
1answer
140 views

MatrixPlot for DFT in black and white with ContourLabel

I have several data files such as this: ...
4
votes
2answers
481 views

Plotting a vector field

Can I somehow plot a vector field and the scattered data point associated with each and every vector? Also, is there any way to prevent Mathematica from interpolting the vector field? I am trying to ...
4
votes
1answer
345 views

Show doesn't show all the plots

I try to combine three list plots with the Show command. Here is the first one: ...
1
vote
2answers
314 views

How can I draw temperature 3D plot?

I want to draw temperature 3D plot based on given data points {{x1,y1,z1},{x2,y2,z2},...}. Here z coordinate is temperature.Am going to Show the temperature z in corresponding {x,y} coordinate. In my ...
2
votes
1answer
198 views

ParametricPlot3D doesn't appear

Here I have one simple system solvable with NDSolve. I don't know why ParametricPlot3D doesn't present trajectory in space. I have solutions for x[t], y[t] and z[t] ...
5
votes
4answers
399 views

Prevent Part[] from trying to extract parts of symbolic expressions

If you have a list, e.g. {1, 2, 3} then you can extract the $k$th part using Part (...
2
votes
0answers
37 views

Plot3D has a break in the center of the plot [duplicate]

I am trying to plot a relationship using Plot3D and for a reason I cannot figure out the function is not evaluated in the middle of my range. If I take a 2D slice ...
4
votes
1answer
102 views

How can I highlight the vanishing-partials in an interactive 3D plot?

I am using Manipulate and Plot3D to plot a function with two real variables and two extra parameters. ...
7
votes
2answers
2k views

Increasing the thickness of line in plot legend

I've been using the shiny new legends in V9 for my plots. However, I usually increase the Frame/Axis ...
3
votes
1answer
299 views

BarChart and Log Scale results in different bar origins

I want to create a bar chart from two different data sets. ...
1
vote
1answer
137 views

Need assistance with plotting Cell Center Points and Normals (ListPlot, ListVectorPlot)

This is the CellCenter datapoints and associated Normals data: http://wikisend.com/download/458974/CellCenters-and-Normals.dat The dat file contains data points for x,y coordinates and x,y ...