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

learn more… | top users | synonyms (4)

11
votes
3answers
321 views

Custom functions by delegating options in a specific way and using core functions

I'd like to create a custom function that does essentially the same as a core function of mathematica but uses different default settings. Example: I want a Plot function that uses Mathematica's core ...
1
vote
1answer
392 views

Use Results from Manipulate Plot NDSolve to create another plot versus variable used in DE

I created my plot using using this input: ...
2
votes
3answers
97 views

BarChart without axes neglects the last zero of a list

Creating a BarChart with {1, 2, 3, 0} as BarChart[{1, 2, 3, 0}, Axes -> False, Frame -> True] gives me only the first three bars, a chart identical to just ...
2
votes
2answers
818 views

How can I change the position of my plot legends?

As the title indicates, I want to change the current position of the legends in a combined plot. The Mathematica code I used is ...
0
votes
1answer
169 views

Why don't I see all the grid lines in my combined contour plots?

I am trying to display four continuous functions, but when I try to combine them withe a single Show, I can't see the second vertical line. I suppose the problem is ...
3
votes
3answers
2k views

Label points in plot with a text

I'm a newbie at Mathematica and I couldn't find how to label the maximum and the zero of a simple function in Plot with their names: ...
4
votes
1answer
209 views

Plot an undefined function

When I plotted an undefined function, Mathematica also spends considerable time to process it. It returns a blank figure necessarily. What confuses me is where the ...
4
votes
2answers
254 views

Stop use of scientific notation when displaying FrameTicks

I have a dynamic graph which changes depending on the current selection from a drop down box. All selections from the drop down box give fine results except one. For the one selection it shows the ...
1
vote
3answers
443 views

Plotting multiple parametric functions with different intervals

I want to make a parametric plot like this: ParametricPlot[{{2 t, -10 t^2}, {t, 2 t}}, {t, 0, 2}] I have tried the following but it doesn't work: ...
14
votes
3answers
618 views

How to plot a 3D surface with a simple black and white style?

Mathematica has great plotting capabilities. However, sometimes what is needed is a very basic black and white plot without textures, lighting, glow and other complex features. So, here is my ...
4
votes
2answers
738 views

Plot 2D Vector function in 3D

I want to plot a 2D vector function such as $F(x,y) = (a(x,y),\,b(x,y))$ in a 3D graph so that the vectors are embedded in the xy plane. I tried to do the following: First I defined a piecewise ...
2
votes
1answer
114 views

How do I remove this awkward plane? [duplicate]

Using Plot3D, I tried to plot $x^3 + y^3+3xy=z$ ...
12
votes
4answers
746 views

Plotting data points: Optimizing size and visuals

The following problem is one that may have showed up to you while plotting a large data collection. Suppose you have a data set of say 1 million points. ...
1
vote
3answers
355 views

How to make a plot on top of other plot?

I want to plot two functions. One should appear on top of the other. The x axis has the same values for both functions, but should appear twice (the second- upper I want to be dashed). y axis should ...
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 ...
1
vote
1answer
451 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
5answers
679 views

Plotting the solutions to a transcendental equation

I am trying, to no avail, to use Mathematica to produce a plot in (x, y)-space of the solutions to the equation Cos[Sqrt[y]] + Sin[Sqrt[y]]/Sqrt[y] == Cos[x] ...
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 ...
0
votes
0answers
72 views

Tooltip and table in plot [duplicate]

Plot[Tooltip@{1.` k^2, 1.2` k^2, 1.4` k^2, 1.6` k^2, 1.8` k^2, 2.` k^2}, {k, -2, 2}] gives But why does ...
4
votes
3answers
205 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 ...
2
votes
0answers
144 views

Is there a relatively easy way to add the “Cone of Influence” to a waveletscalogram?

I am analyzing time series data using the ContinousWaveletTransform function and plotting the results with WaveletScalogram. I ...
1
vote
3answers
870 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
485 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 ...
5
votes
4answers
665 views

How can I fill a curve in ParametricPlot3D?

I'd like to fill a curve in a ParametricPlot3D in the same way as I might with ListPointPlot3D; i.e., ...
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. ...
3
votes
3answers
362 views

How to plot a parametric region representing a coordinate transformation

The Wikipedia page on Rindler coordinates shows a nice example of how a coordinate transformation can be represented in a plot. They start with two coordinates $T,X$ with $0 < X < \infty,\; -X ...
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
320 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: ...
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: ...
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, ...
2
votes
2answers
288 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? ...
10
votes
3answers
416 views

How to remove unwanted regions in a three-dimensional surface

As the title indicates, I want to delete some unwanted regions in a three-dimensional surface created using ContourPlot3D. Here is the corresponding code ...
3
votes
2answers
251 views

Combining two plots which are in two regions

I want to combine two plots which are in two regions. For an example, I want to plot following two figures in the same plot. ...
2
votes
3answers
763 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
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 ...
-5
votes
1answer
282 views

plotting an equation with double summations

Thank you so much for the helpful comments. Now able to manage to plot all the functions. ...
3
votes
1answer
926 views

How can I draw the transition diagram of a Markov chain?

I apologize for my heaviness as I am a Mathematica novice. Is there a kind soul who can tell me how to draw diagrams like those shown on page 158, 160 and 161 of this document.Chaine de Markov I ...
3
votes
2answers
718 views

Define a color function using Piecewise

How can I define a ColorFunction for my ContourPlot using Piecewise? For example after ...
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 ...
2
votes
4answers
858 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: ...
0
votes
1answer
110 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
400 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 ...
4
votes
1answer
161 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 ...
1
vote
3answers
281 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 ...
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 ...
23
votes
7answers
818 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 ...
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: ...