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

Manipulate Parametric Plot

Is it possible to plot the values of x and y in Mathematica? ...
1
vote
2answers
36 views

Problem with FrameLabel in the ErrorListPlot function

I've been trying to print information on the axes of a graphic. I'm doing that by the option FrameLabel in the ErrorListPlot ...
1
vote
1answer
104 views

3D Contour Plot - parts with gradients less and more than zero

I'm trying to plot sections of the 3D Contours, with gradient less than zero, and more than zero and equal to zero. It manages to solve for the derivative, but when I apply the conditions ...
3
votes
1answer
89 views

Plot more points only in specific region of plot

I have the code shown at the bottom of this question which generates a 3D plot. There are locations where the two surfaces you see form cones and touch at infinitesimally small points. These points ...
3
votes
3answers
91 views

Dynamic ListLinePlot

I have a list of lists looking like this: {{{x1, y1}, {x2, y2}}, {x1, y1},...}}. Furthermore I have defined a legend, which is taken from the filenames. Now I want ...
0
votes
1answer
50 views

I can't Plot the equation -(π/4) + x - 1/2 Sin[2 x] == 0 [on hold]

I'm starting with Mathematica and I can't solve numerically the equation -(π/4) + x - 1/2 Sin[2*x] == 0 using NSolve as well ...
1
vote
2answers
150 views

3D Contour Plot parts of sphere with gradient less than 0, equal to 0 and more than 0

I want to plot only parts of the sphere of radius 1 where the gradient $\frac{\partial z}{\partial x}$ is < 0, = 0 and > 0. The full sphere is given by: ...
4
votes
3answers
140 views

I need to remove a line from a ParametricPlot

What happens is that when I make this ParametricPlot: ...
8
votes
1answer
141 views

Plot one set of “x” with at least three sets of “y” in different scale

I'm sorry if the question is too obvious, but I haven't been able to find a straight answer for Mathematica. I have 1 set of "x" with at least 3 sets of "y" in different scales. I need to plot them ...
7
votes
2answers
173 views

Why PlotLegends doesn't give the legends ?

I am using Mathematica 9. The problem I have is with plotlengends, in particular, ...
0
votes
0answers
55 views

Frame ticks not showing in ListLogLogPlot [on hold]

I want to make the following plot: ...
5
votes
4answers
206 views

Speed up Schwarz-Christoffel mapping

I would like to ask your advice how to speed up Contour and Parametric plots in the following example. Let as start by defining a function ...
3
votes
2answers
59 views

Adding Text to a ListLogLinearPlot [duplicate]

I have a problem with adding text to a ListLogLinearPlot plot. The text just doesn't show up anywhere. If I use the normal ListPlot, the text coordinates go perfectly wherever I want them to: ...
19
votes
4answers
1k views

Time-series decomposition in Mathematica

I'm studying time-series in R with this book, and there is a nice command in R that creates decompositions. Inside Mathematica 9 the command can be executed as: ...
1
vote
1answer
137 views

Mapping points on the unit circle

I have a set of points P that are evenly spaced on a square grid of length 1... I would like to map these points to the circle of radius 1 as nicely as possible, while preserving relative positions ...
2
votes
1answer
75 views

Plotting a region with thin cusps in high-definition via RegionPlot

I want a high-definition picture the real solutions $(s_1,s_2,s_3)$ of the system of inequalities $3 s_1^2 < (s_2 - s_3)^2 + 2 s_1(s_2 + s_3)\\ 3 s_2^2 < (s_1 - s_3)^2 + 2 s_2(s_1 + s_3)\\ 3 ...
0
votes
0answers
118 views

Volume enclosed by two surfaces of revolution [on hold]

y = [Pi]^2 Sin[x] (Cos^3)[x], y = 4 x^2 Can anyone help to plot this graph. Do i have to integrate or differentiate it first? I need to calculate the volume of ...
0
votes
0answers
47 views

Is there a reason why some specific arrangement of scattered grid points would yield bad RBF (Obtuse package) interpolation results?

I have an arrangement of grid points given by the figure below (the datagrid data is posted below at the end of the post): They correspond to electrode positions of an EEG signal. I am ...
0
votes
1answer
497 views

PDF of binomial distribution and mixed binomial distribution

I want to plot the PDF of binomial distributed function and a mixed binomial distributed function, therefore I entered for the binomial distribution function the following: ...
0
votes
0answers
35 views

Overlay 3d plots in Manipulate [on hold]

I want to find parameters of the fitting of data by overlapping the data with my model function. To find the parameters I'm using Manipulate function. And to make sure that the fitting is close to the ...
2
votes
3answers
138 views

Plot a one-dimensional list of numbers as a column/row of labeled colored squares

I have a list of numbers and a matching list of labels. I want to plot a column of colored squares, with the color of each square matching (in some color scale) the value of the corresponding number. ...
5
votes
2answers
295 views

A topoplot function for Mathematica

Matlab's EEGlab toolbox has a topoplot function: http://sccn.ucsd.edu/eeglab/ A typical topographical plot of an EEG signal is given below: How can I reproduce this in Mathematica. I know that ...
3
votes
0answers
45 views

Bug when using Plot3D over an ImplicitRegion?

Evaluating this expression seems to cause Mathematica to beep and quit the kernel: ...
2
votes
2answers
50 views

InterplationOrder, ListPlot3D and using AbsoluteOption to find value used. Slow using InterpolationOrder

What lead to this, is when I noticed that ListPlot3D was much slower when adding a specific InterpolationOrder->n vs. not and ...
0
votes
0answers
76 views

Simulation of Circular plate vibrations

I'm trying to simulate the vibration of a circular plate with a free edge. The plate wave equation describes the vertical displacement of the middle surface of the plate $(\zeta)$ as a function of ...
1
vote
1answer
58 views

Stochastic Approximation and Simulation using Running Median

I have a function $$F(X_{t+1},Y_{t}^{med})= \alpha X_{t+1} + (1-\alpha) Y_{t}^{med},$$ where $$Y_{t}^{med} = Median(Y_1, Y_2,... Y_t).$$ Moreover, $Y_1 = X_1$ and $Y_t = F(X_{t},Y_{t-1}^{med})$ ...
5
votes
2answers
286 views

plotting a trig functions along with its envelope

Note: This questions is quite different from the ones referred to in the comments. Those deal with numerical questions, while this one is algebraic. I have plots of the following type: ...
5
votes
1answer
79 views

ListPolarPlot: 0 Degree at vertical axis

Is it possible to have ListPolarPlot start plotting at the vertical axis? By Default ListPolarPlot gives this result: ...
3
votes
1answer
46 views

Filling dependence on order of points in ListPlot

ListPlot[{{{1, 0}, {0, 0.5}}, {{1, 1}, {0, 1}}}, Filling -> {1 -> {2}}, FillingStyle -> LightGray, Joined -> True, Frame -> True] Results in no ...
10
votes
5answers
353 views

Plot the plane so different condition has a different color

I have a list of functions defined on the plane, and I want to know which one of those functions is smaller than the other functions at particular points. Currently, what I do is ...
7
votes
5answers
302 views

What is my problem with MeshFunction?

I want plot the max value in a sine plot. We can use the following code ...
1
vote
2answers
93 views

How to do a region plot with many functions [duplicate]

Hello i am trying to compare many function, i want to see witch one as the lowest value depending on 2 variables. My solution so far is something like this: I have 7 function: P1 P2 P3 P4 P5 P6 P7, ...
3
votes
5answers
197 views

Ordering the Boundary points of a Polygon

I feel like this should be simple, but I keep running into walls. Say someone gives you the coordinates of the vertices of a pentagon and the center point of the hexagon. Is there any way to get an ...
10
votes
4answers
879 views

How do I plot Thomae's function in Mathematica?

I wanted to plot this function $$f(x) =\begin{cases} 1 & \text{if } x= 0 \\ \tfrac1{q} & \text{if } x = \tfrac{p}{q}\\ 0 & \text{if } x \in \mathbb{R}-\mathbb{Q} ...
0
votes
0answers
77 views

plot $f(x)$ against $\frac{1}{x}$ [closed]

Hi guys this is really a simple question: if i have $f(x)$ how do i plot this function in mathematica against, for example, $\frac{1}{x}$? thanks in advance
6
votes
1answer
155 views
0
votes
1answer
85 views

Plotting an function defined by an integral [closed]

How can I plot a function defined by an integral. More specific, I have the following equation: $$ T = ...
-8
votes
0answers
119 views

Visualizing The Crack of The RSA Cryptosystem [closed]

Q: how would you illustrate the RSA Cryptosystem with the new fast factorization technique? Side Note: This question is about Mathematica but it is not a home work. So, feel free do not publish your ...
1
vote
1answer
73 views

Missing arrow tips and colors

My main problem is: I plotted a curve here, but the tip of some arrows are missing. Why does this happen, and how can I fix this? Not the main problem: Also, I once tried to make the arrows with ...
2
votes
2answers
96 views

Plot help with axes coordinates

Plot[{4 - 2 y, (5 + y)/3}, {y, 1, 10}] How do I make Mathematica tell me the coordinates for cuts with the y-axis, other than just looking at it?
0
votes
0answers
51 views

How can I display the numbers on the ordinate axis as exponentiation?

I create a Plot and I need to insert the values on the ordinate axis as exponentiation. For example if I have a value equal to 20000, view as 20x10^3. Here the code: ...
8
votes
3answers
2k views

Given a Table of Plots with some parameter, how would I mark each of the plots with that parameter

I've got a two variable function that I'm plotting against one axis for a few different values of a parameter ...
3
votes
1answer
82 views

How to combine Plot and GeoGraphics?

I want to combine this map as "background" of this combined plot. How can I do it? The documentation doesn't show any similar demonstration. ...
8
votes
2answers
252 views

Torus triangulation

I'd like to plot something similar to this but with a triangle instead of a pentagon. Also, I'd like to triangulate the faces, that is, to insert the diagonals for each face of the 3 prisms used. In ...
4
votes
2answers
107 views

Adding a thick curve to a regionplot

Suppose we have the following simple RegionPlot: ...
4
votes
3answers
130 views

Plot failing over set domain with any functions

I'm here with a rather interesting problem which I have no clue how to fix. I am trying to plot a function: Plot[x && 0 <= x <= (1/8), {x,-9,9}] ...
2
votes
2answers
142 views

Contourplot of complex Roots

Suppose I have this equation: $$ z^2 + 3z + (x^2 + y^2) = 0 $$ I want the real and complex contour plot of $z(x,y)$. Analytically, the real/imaginary boundary is separated by condition $x^2 + y^2 ...
5
votes
1answer
99 views

How to graph the revolution of solid limited by 2 points in x axis [duplicate]

I'm learning how use this program. And I have problem with how graph the solid of revolution.Here i write one exercise. y=2-1/2x, y=0,x=1,x=2; about the x-axis. This is the graph also the volume ...
4
votes
1answer
136 views

Export to PDF on OS X, font missing on Windows

Here is another problem with Mathematica plots and PDF. I have Mathematica 9.0.1 on Mac OS X. I want to export my plots to PDF to include them in a LaTeX document. If I export the plot with the ...
11
votes
1answer
367 views

Map of Specific US States? (Isolated)

My question here is fairly basic, and I'm sure I'm overlooking something basic. I know about CountryData for creating shapes of entire countries, and it works, to ...