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
1answer
210 views

ListPlot - plotting values with different range

I have three tables: L, S and U. In first table I have values from range (0,1), in second ...
2
votes
2answers
324 views

One fill color for a curve when it is above the x-axis and another when it is below [duplicate]

I want to use a different fill for a plot when the curve goes below the x-axis than when it's above that. I tried: ...
4
votes
1answer
206 views

DensityHistogram label/display values in Mathematica 8

I'm trying to make a DensityHistogram in Mathematica 8 that overlays the histogram values for each location. What I want is for the value of each square to be ...
0
votes
1answer
98 views

Interactive plot with checklist

I'd need to write an interactive plot. I have some function I defined and some point lists I get from external data file. I'd need to see those data along with my functions, and I know how to do that. ...
3
votes
1answer
477 views

DateListPlot show all the dates in ticks

The code below generates the plot above, ...
14
votes
3answers
1k views

Plot discontinuous function with black and white disks marking discontinuities

Let's say I'd like to plot Sign[x + 0.5]: Plot[Sign[x + 0.5], {x, -1, 1}] Mathematica will give this: This plot does ...
3
votes
2answers
320 views

Different MeshStyle for different functions

By using Plot command I want to get one curve in form if circles and other like a solid line. ...
8
votes
1answer
308 views

Add lines to 3D Plot

How can I add lines that demarcate the different regions of the following 3D plot: Plot3D[1/(1 + E^(-a - c)), {a, -8, 8}, {c, -8, 8}] To give you an idea of what ...
13
votes
4answers
639 views

Is it Possible to change dashes into circles with Plot command?

Is it possible to change the Dashed Style of a curve into circles with Plot command ? ...
2
votes
1answer
2k views

Simple way to plot a complex valued function of one real variable

How can I plot a complex valued function of one real variable, $f(t)$, as $$x=-\Re f(t),\ z=\Im\ f(t),\ y=t \space?$$ My aim is a 3-dimensional path, treating the complex valued function as if it ...
0
votes
1answer
130 views

Why is my plot so small?

This code ...
2
votes
1answer
132 views
1
vote
0answers
183 views

ListDensityPlot: How to only retain regions with data without using interpolation?

I'm working with ListDensityPlot on a set of triples, $\{\{x_1, y_1, z_1\}, \dots\}$. The data is on a semi-regular grid and looks just as it should through most of ...
3
votes
5answers
438 views

How to plot a 2D region when there are 3 free parameters?

How could I obtain the region of payments, with the parameters a,b,c,d between 0 and 1 and the sum of all equals 1? After the comment/recommendation of belisarius... I edit the original question ...
9
votes
4answers
2k views

How to plot and find the volume of a solid?

How to plot and find the volume of the solid enclosed between the paraboloid z=5(x^2+y^2) and z=6-7x^2-y^2 And the answer of ...
7
votes
3answers
137 views

Disable rounding up of PolarAxesOrigin

How to disable rounding up the radius which is used to calculate the origin of the polar axes with the option PolarAxesOrigin? Example: ...
0
votes
1answer
159 views

How to use ParametricPlot Wih Conditions (or similar)

I´m analizyng the game "Battle of the Buddies" similar to "Prisioner´s Dilenma" All works fine, BUT... I want to draw in red the point whose coordinates are less than the coords of a strategy. ...
4
votes
1answer
401 views

Edit Plot/Graphics after it's been drawn. [duplicate]

Sometimes I run into a situation when there are graphics objects (mostly plots) that take a while to draw. Good practice would suggest you do all your evaluation outside ...
3
votes
2answers
665 views

Plot3d: How to color a surface according to the slope of the surface?

Here is my approach, for an example surface function: surface[x_, y_] := Sin[x y]; The normal vector of a point in the surface is computed as: ...
0
votes
1answer
228 views

How to draw the plot of a function in the complex plane? [duplicate]

I'm new to Mathematica, and I was wondering how to plot $x^n$ in the complex plane. Is there a dedicated function for this purpose?
0
votes
0answers
44 views

Mathematica how to plot objects with labels in 3D plot [duplicate]

The following code plots 3 cuboids, each with a label at the lower left vertex. The label is meant to be part of the cuboid object. Yet, since Text[] is used to ...
4
votes
1answer
295 views

Plot a cone in spherical co-ordinates

As we all know in spherical coordinates a function phi = π/3 gives us a cone. The cone makes an angle of π/3 with the imagined ...
11
votes
3answers
1k views

How to make Mathematica graphs in Microsoft Word independent from Mathematica?

When I open a .docx file containing Mathematica graphs on a computer without Mathematica software installed, the graphs look corrupted. For example, ...
0
votes
1answer
179 views

how to deal with so many digits in plot ticks [duplicate]

the data is as follows ...
35
votes
6answers
2k views

How to plot contours in the faces of a cube

I'm trying to plot contours of a function f[x,y,z] on the faces of a cube as the example below, which represents the domain of this function. Is there a way to do ...
4
votes
3answers
497 views

How can I draw a hyperboloid given its generatrix?

I want to see how a hyperboloid of revolution is generated by its generatrix, i.e. by rotating one (say the one passing point $(1,0,0)$ and $(0,1,1)$) of the skew lines around another (say the z ...
3
votes
2answers
386 views

random geometric graph generation problem

I'm new to Mathematica. I'm trying to generate a random geometric graph in which to have a secure link between any two arbitrary nodes they should share a common key in their key rings (have assigned ...
11
votes
1answer
267 views

Disconnected Frame/Axes in Plots

Is it possible to have "Tufte" style figure axes? That is so that the axes do not need to connect or span the entire data range? For an example of what I mean from the R's default histogram style: ...
5
votes
2answers
246 views

Extracting data values from a plot

I found that the fact is very useful that a plot sometimes contains all the original data needed to reconstruct that plot. This is very helpful for me because sometimes I need to retrieve and analysis ...
0
votes
0answers
32 views

Plotting bug? or am I missing something? [duplicate]

I would like to plot some functions in a family such as the following set of functions: Table[(n/(1 - 2 x))^2, {n, 1, 29}] And this works wonderfully: ...
1
vote
1answer
292 views

Vertex labels versus vertex names in VertexRenderingFunction

The VertexRenderingFunction seems to only use names, not labels. For example: ...
2
votes
2answers
188 views

Plotting double inequality only for integer values

RegionPlot is plotting for all values. And using ListPlot I can only evaluate one inequality. How can I plot this type of ...
4
votes
1answer
1k views

Combining Two Manipulated Plots Dependent on Same Variables

I need to combine two plots on the same graph to highlight the intersection of the two while being able to manipulate various parameters that are common to both functions. I need to have the slider ...
4
votes
2answers
195 views

GraphPlot with black edges no rendering function

Is there any way to make the edges of a GraphPlot black without tediously writing out a long "EdgeRenderingFunction"? I guess you could ask the same kind of question about vertex labeling. For ...
1
vote
3answers
142 views

Discrete inequality plotting

I have an equation like this: $${20 \choose k}\cdot \sum_{i=0}^k {k \choose i}\cdot i \leq 1+f$$. I want to plot this inequality as the dependency between k and ...
4
votes
2answers
208 views

How to highlight overlapping regions in RegionPlot according to the overlapping times?

I want to plot the overlapping regions of several inequalities. For example, ...
3
votes
1answer
756 views

Plotting two functions against each other

I have two functions which are functions of t. Let's just say x1[t] and x2[t]. I want to ...
4
votes
3answers
195 views

PlotStyle with Table

I want to create a plot style with a table and manipulate the variables in the plot style. ...
0
votes
1answer
274 views

How to graph in Cylindrical coordinates in 3D

I need help figuring out how to plot in cylindrical coordinates. I read that CylindricalPlot3D was replaced with ...
6
votes
1answer
270 views

Custom image as plot marker

Is there a quick and easy way with Graphics to replace the standard data points in a plot with a custom image?
3
votes
2answers
207 views

Arrowhead as MeshStyle or PlotMarkers for ListLinePlot

Is it possible to use the Meshstyle option of the PlotMarkers option in ListLinePlot to have ...
2
votes
2answers
124 views

Plot with sum and binomial command

A few days ago I asked about a problem with plotting a sum. You advise me to use Evaluate option, and that helped me very. But now I have a very similar problem, but i can't find the mistake. I have a ...
0
votes
0answers
169 views

Using FindFit for step functions

Having used FindFit like so: ...
3
votes
1answer
364 views

StreamPlot,smooth curves

Using the StreamPlot I observed that when the streamline is a small circle, this line is not smooth. How can I increase the number of points along the streamline? For example, these are the magnetic ...
2
votes
1answer
147 views

Reproducing a Plot done with WolframAlpha [duplicate]

I have problem to draw in Mathematica a plot like this: Plot[{Sum[a^10*(-1)^(x-a), {a, 1, x}]}, {x, 1, 10}] The problem is that on the plot there is no graph. As ...
6
votes
2answers
210 views

how recover lost data of coordinates from contourplot of mention data?

I have made Contour Plot for a lot of data, like this ...
11
votes
2answers
2k views

Finding fourier transform of data and hence frequencies

I looked at all the other questions related to mine before posting this, and they didn't solve my problem. I have a large data set which can be downloaded from here. I'm using the following code to ...
1
vote
1answer
197 views

Finding Minimum of a list after interpolation

I have a set of lists called Er[l], where l is from 1 to 13. I want to find the minimum point in the plot in these lists after interpolation by spline method. I need the values and the points on the ...
3
votes
1answer
229 views

Mesh and ParametricPlot [duplicate]

Is this a bug, or something going over my head? When using the following code, nothing "special" happens: ...
5
votes
1answer
204 views

How to make a piece of a pie chart change color upon clicking it?

I am trying to use the EventHandler and have managed to make the text change color upon clicking it, but cannot seem to make each piece of the pie chart change ...