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

learn more… | top users | synonyms (4)

5
votes
1answer
108 views

Smarter way of manipulating plot style?

Say, I have a colorlist listColor={Black,Brown,Red,Cyan} Now, I have some Plot function that I can use this list: ...
2
votes
3answers
258 views

Introduction of straight Line into Manipulate function

I just want to implement a line within my chart that starts from time point 0 to time point T and whose y-coordinates can be manipulated, which in my case is represented by D. I tried to implement a ...
0
votes
1answer
117 views

How to represent the lines that are formed by the intersection of two planes?

I am trying to set up Brillouin zone and representing the lines that are formed by the intersection of two planes is part of my step. I have tried the sample sections from the graphics guide book, but ...
1
vote
1answer
34 views

How to add more than one label to Histogram automatically

I have a huge data and I want to add two labels to the Histogram. the problem here is that the labels are calculated and added automatically to the histogram. for example if I have the following ...
1
vote
3answers
171 views

Marking specific points on a 3D curve

Here is the curve below. (written as a position vector) r = {Cos[7 Pi*t], Cos[6.2*Pi*t], 2.5*t} ParametricPlot3D[r, {t, 0, 2}] I want to know how I can mark ...
0
votes
3answers
93 views
-5
votes
1answer
85 views

Mathemathica: How to plot diagram? [duplicate]

i want to plot a diagram by this command using mathemathica. but it plotted as a beeline while it must be have a bit aberration.what is my fault in plotting? i want to display my diagram such as ...
2
votes
4answers
107 views

How to place more than one ChartLabel in a BarChart

I have the following data: ...
5
votes
3answers
169 views
2
votes
2answers
124 views

How to add the position of an added vertical line to the plot itself?

In this question it is answered how to add a vertical line to a graph. However, it has not been shown that how can someone add the position of that vertical line to the axis. How can I add the ...
4
votes
7answers
314 views

ParametricPlot with plot markers

I have a parametric plot, and would like to fit a line to it with "■" PlotMarkers on it, but am unable to do so. ...
-3
votes
0answers
28 views

Labeling points on a parametric plots (3D) [duplicate]

r = {6*Cos[2.7 Pi*t], Cos[3.6*Pi*t], 4*t} ParametricPlot3D[r, {t, 0, 1}, Mesh -> {{0.001, 0.999}}, MeshStyle -> {PointSize[0.03], Red}] How can i label the two points I've picked with "start", and ...
0
votes
1answer
41 views

How to make the coordinate indicator in a plot bigger? [duplicate]

I want the little vertical line which indicate the coordinate of the system in plot bigger. For example, in the picture below I marked those lines I am talking about with a blue rectangle. How can I ...
0
votes
0answers
107 views

3D isosurface plotting

I have a matrix of data of the form of 3 vectors R, Z, M1, M2, M3 ..., cylindric coordinates representing a measurement M of an axisymmetric hypersonic flow at the position R, Z (I don't measure along ...
7
votes
1answer
112 views

Control BarLegend size

I want to plot a big 2D array of experiment data. I need plot axes and tick labels as well as a bar legend using BarLegend: ...
0
votes
1answer
91 views

Finding all maxima and minima of a function

To find all (global and local) extrema of a function in R3 I have written: Example-function ...
1
vote
2answers
122 views

How to plot partial derivative of an integral vs. another variable?

Just to take an example, because my original numerical integral was too complex: T[t_] = NIntegrate[Exp[(eta - 1)*t], {eta, 0, 4}] But when I am using ...
17
votes
2answers
216 views

Symbolic derivatives are being calculated numerically

Just found the following while debugging a problem. Mathematica is calculating the derivative of IntegerPart[x] in some odd way: ...
0
votes
1answer
76 views

How to plot two sets of points in diferent colors with Epilog? [closed]

I want to plot two sets of poins (say, one in black and other in gray). How can do I this? I only obtain one set, and I don´t know how to use two colors in an Epilog option. ...
0
votes
1answer
75 views

shade plane with a color function color(x,y)

I am making a RGB color function which assigns an RGB color to each point in the plane. To check if it does what I think it should do (i.e. debugging it), it is helpful to be able to plot the function ...
0
votes
1answer
66 views

Filling between two curves in Mathematica [closed]

I want to fill region between 2 curves, but in Mathematica 8.0: FilledListPlot[list1, list2, Fills -> {RGBColor[f, f, f]}] doesn't work.
1
vote
1answer
70 views

How can I make a ContourPlot3D with inequality constraints?

I need to plot a function in implicit form as below: ...
0
votes
1answer
60 views

How to use Button as a control in Manipulate

I am trying to use Button as a controller in Manipulate. I have done some thing like this: ...
1
vote
1answer
99 views

Stacked bars in a barchart with individual and overall labels

There are a lot of questions here about formatting of barcharts, but I couldn't find one matching mine. I seek to display data in stacked format, labeling each component of the stack and the total for ...
3
votes
3answers
132 views

How to change the number of markers in Plots?

Two questions, but I am not sure whether they are already answered or not. How can I create PlotMarkers (in ListLinePlot) with ...
4
votes
1answer
215 views

ContourPlot3D using a Matlab function through MATLink

I have a Matlab function which accepts a 3 dimensional vector and returns a single number. I want to use this through MATLink to make a 3d plot. A unit sphere: ...
2
votes
3answers
254 views

Smooth 4D (3D + color) plot from discrete points

I have a file containing isosurface $\{x,y,z,F\}$ data (around 9000 points). My goal is to generate a smooth (NOT a discrete set of points!) colored surface using ...
26
votes
6answers
2k views

Extruding along a path

I'm trying to render a 3D image of a path by extruding a circular cross-section along the path, creating a "snake-like" path. Here is an image I found to illustrate: I can't seem to figure out if ...
2
votes
2answers
121 views

How can I get thicker lines in the legends of a ListLinePlot?

I want to have thicker lines in the legends of this plot: ...
0
votes
0answers
62 views

Failing to get a coloured coordinate in 4D plot

I am trying to get a colour data plotted according to a coordinate. I am working with 4D vectors, with three spatial and one temporal coordinate. I tried the accepted answer at Plot 4D data with ...
-2
votes
2answers
95 views

plot data with small differences

I want to plot data with very small differences. I can't see the differences in my plot:
3
votes
5answers
364 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 ...
0
votes
1answer
57 views

What is wrong with my simple plot? [closed]

What is the problem with plotting the imaginary part of this equation? ...
0
votes
2answers
84 views

Discrete ContourPlot3D with restrictions

I have the follow simple condition between integers: k - 2 h - l == 0, which describe a plane that I plot with: ...
0
votes
4answers
74 views

Label each panel of Grid

I have a set of figures that I would like to show as grid for a publication. I currently just export the figure as an eps and use another software package to add Labels (A,B,C,D) to each panel of the ...
0
votes
1answer
92 views

How to plot a list of lists with ListLinePlot?

(edited, after rasher comment, changing any detail and variable names) You can plot an evolution with 3 lines (up=maximmun, in the middle=mean, bottom=Minimum) with this code ...
1
vote
1answer
78 views

Plot a vector valued function of two variables using color density

I have a vector (3D) valued function of two variables. I want to visualize it as a density plot, using R,G,B color values to display the value at the point (x,y). I've come up with a couple of ...
0
votes
1answer
60 views

Extract data from DateListPlot, limited by PlotRange

Extracting the points from a line in a ListPlot in this answer uses points = Cases[Normal@plot, Line[pts_] :> pts, Infinity]; This works in DateListPlot ...
0
votes
1answer
71 views

Combine a contour plot of a conic and an inset with an polygon such as all its vertices are on the conic

I have a difficulty to programmatically adjust the size of a polygon within an inset of a conic (here I limit myself to a circle) in order to have all its vertices on the circle: ...
8
votes
2answers
245 views

Graphing a network with state transition flows (of varying size)

In one of Stephen Wolfram's recent blog posts (http://blog.stephenwolfram.com/2013/04/data-science-of-the-facebook-world/#more-5350) he provides the network plot below. The size of the arrows that ...
-2
votes
1answer
67 views

how draw root locus in mathematica 9 for a special case

my closed loop transfer function is: H(s)=2exp(-q)/(1+exp(-2q)) q=sqrt((a+k*sqrt(s)+s)*s) , s=sigma+jw how can i draw root locus of H(s) as 'a' changes for ...
1
vote
1answer
129 views

Solving a complex-valued differential equation with NDSolve

I am trying to solve $dx/dt=\sqrt{1+(ix)^{1.8}}$ for initial condition $x[0] =-0.9877 + i 0.1563$, where $x$ is a complex variable. I would like to plot the imaginary part of the solution versus the ...
4
votes
1answer
186 views

Creating complex contour plots

I would like to create a contour plot of $e^z-\dfrac{z-1}{z+1}$ that looks like the picture on the left, but can only manage the one on the right. I have tried incrreasing the number of contours, but ...
1
vote
0answers
100 views

Trying to plot the trajectory of a particle using its Lagrangian; the plot is wrong [closed]

I'm trying to plot the trajectory of a particle given its potential energy (by finding its Euler Lagrange equation, etc., etc.). Here's the code: ...
3
votes
1answer
108 views

Riemann surface for cubic root

I'm trying to generate Riemann surfaces of higher order. I read How to visualize Riemann surfaces?, and the subsequent documents. I'm able to reproduce the surface using polar representation, but I'm ...
2
votes
1answer
119 views

How to plot a coalition game?

Consider a game of a function $v$ which has \begin{align} v(1) & \geq 1\\ v(2) & \geq 0\\ v(3) & \geq 1\\ v(1,2) &\geq 4\\ v(1,3) &\geq 3\\ v(2,3) &\geq 5\\ v(1,2,3) ...
9
votes
2answers
139 views

Hatched Filling for ListPlot

I am plotting to data curves using ListLinePlot. I like the look of Filling, but this is going to be printed, so I want something both black and white friendly, but giving more definition and ...
0
votes
0answers
45 views

GraphicsGrid command

When we merge some colorful plots to a single image, with the command GraphicsGrid, the quality of output image will be lost, slightly. That is, for instance all ...
4
votes
0answers
225 views

Calculating the density of nearest neighbours

I am trying to plot this which is a numerical simulation of the Montgomery-Odlyzko law for the nontrivial 1st $10^5$ zeros of the Riemann zeta function $ζ(s)$. The solid line is given by ...
2
votes
1answer
117 views

Differential Equation in Complex Plane and Parametric Plot

I would like to solve $dx/dt=\sqrt{1 + (I x)^3}$, where x is complex, for some initial condition like $1 - 5 I$ and plot the imaginary part of the solution versus the real part. (A somewhat similar ...