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

learn more… | top users | synonyms (4)

0
votes
1answer
87 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
348 views

DateListPlot show all the dates in ticks

The code below generates the plot above, ...
12
votes
3answers
936 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
262 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
271 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
521 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
1k 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
127 views

Why is my plot so small?

This code ...
1
vote
1answer
86 views

Plotting with multiple variables [closed]

What is the simplest way of plotting across multiple variables? eg: I would like to plot something like this: Plot[{x^0,x^1,x^2,x^3,x^4,x^5,x^6}, {x, 0, 10}] ...
2
votes
1answer
118 views
1
vote
0answers
134 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
418 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 ...
7
votes
4answers
1k 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
119 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
142 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
320 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
540 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
198 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
43 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
230 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
921 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
138 views

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

the data is as follows ...
33
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 ...
3
votes
3answers
372 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 ...
0
votes
1answer
181 views

How to plot a function with variable with an open interval? [closed]

I want to plot this revenue function: $r=30q-0.3q^2$ I have no range, its an open interval, but when I try to plot in Mathematica it requires the min and max of the plotting limits. How do I do ...
3
votes
2answers
344 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
229 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
210 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
29 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
248 views

Vertex labels versus vertex names in VertexRenderingFunction

The VertexRenderingFunction seems to only use names, not labels. For example: ...
2
votes
2answers
172 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
675 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 ...
1
vote
1answer
114 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
131 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
164 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
484 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
183 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
239 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
218 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
161 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
119 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
142 views

Using FindFit for step functions

Having used FindFit like so: ...
3
votes
1answer
263 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
141 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
192 views

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

I have made Contour Plot for a lot of data, like this ...
10
votes
2answers
1k 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
151 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
198 views

Mesh and ParametricPlot [duplicate]

Is this a bug, or something going over my head? When using the following code, nothing "special" happens: ...
11
votes
2answers
694 views

How to plot a figure like this

I saw a beautiful figure illustrating the optical lattice clock, and would like to make a similar one. This is the figure (taken from here) Is it possible to make a similar one using Mathematica? ...
2
votes
1answer
344 views

ContourPlot3D for a 3D vector contour plot

The procedure ContourPlot3D allows plotting the contour lines of the components of a 3D-vector. The problem is I don't know how to give the contour planes of each ...