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
0answers
54 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
42 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})$ ...
2
votes
1answer
29 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 ...
5
votes
2answers
279 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: ...
0
votes
2answers
57 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
1answer
75 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
2answers
42 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
347 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
296 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
89 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
187 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
876 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
74 views

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

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

How to make Epilog render behind the main plot [duplicate]

Consider this example: ...
0
votes
1answer
85 views

Plotting an function defined by an integral [on hold]

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

Visualizing The Crack of The RSA Cryptosystem [on hold]

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
94 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
47 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
79 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
248 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
103 views

Adding a thick curve to a regionplot

Suppose we have the following simple RegionPlot: ...
4
votes
3answers
124 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
139 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
97 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
132 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
363 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 ...
3
votes
1answer
77 views

ArrayPlot copied to PDF shows blurred mesh

Certain (but not all) images displayed in ArrayPlot, and then copied to PDF, show what appear to be fuzzy mesh lines in white areas. An example is shown below. I ...
5
votes
2answers
699 views

Extracting polygons from 3D contour plot surface

Edit: This question turned out to be two parts so I am going to make this question about only the first part a kguler provided an excellent answer. Here is a better representation. My actual data ...
6
votes
1answer
91 views

How do I speed up a plotting of NIntegrate when repeated multiple times inside Plot?

I am studying a set of functions (many of which I know only as a definite integral) and I have assembled into a list. Here is a sample: ...
5
votes
2answers
459 views

Voronoi Diagram: Displaying site specific color in a voronoi diagram

I am using Voronoi Poligonization as a support form simulating island erosion; my data are the output of VoronoiDiagram, ...
4
votes
4answers
103 views

Plot range of a 2-dimensional function as a function depending on one variable

I want to plot a function of 2 variables x and y, for discrete values of y, like: ...
13
votes
2answers
220 views

Export Plots to PNG in Printout Style

When creating a plot in Mathematica 10 (OS X 10.9.4 and Win 7) the FrameLabel and Ticks are greyish and only the Frame itself is black (see Screenshot bellow). Only when exporting the plot to PDF all ...
11
votes
2answers
386 views

How can I prevent ColorFunction from disabling antialiasing in graphics?

When I use ColorFunction, the appearance of my plots is ruined, changing from this which has the normal smooth lines and antialiased fonts, to this in which ...
3
votes
1answer
295 views

rasterListContourPlot With PlotLegends in Mathematica 9

Jens Nöckel has write functions about (List) Contour Plots with rasterized shading in Mathematica: http://pages.uoregon.edu/noeckel/computernotes/Mathematica/rasterContourPlot.html It works well. ...
27
votes
4answers
2k views

Saner alternative to ContourPlot fill

I am producing a large number of ContourPlot objects, which when exported generate notoriously large PDF files because it basically generates lots of little ...
23
votes
7answers
4k views

Changing the background color of a framed plot

I frequently generate framed plots like this: Plot[Sin[x], {x, 0, 2 \[Pi]}, Frame -> True] Is there an easy way to change the background color of the framed ...
2
votes
1answer
109 views

RegionPlot3D run forever when plotting 3D ParametricRegion

when working with 2D, RegionPlot works fine with ParametricRegion as can be seen in this example: ...
3
votes
2answers
311 views

How to plot several functions without jumping? (multiple eigenvalues of a system as functions of 2 parameters)

I've been working on this research problem for months with some success by no global/proper solution to the problem. So I have square, Hermitian matrices of various sizes ($8,20,38$ dimensions) with ...
8
votes
2answers
363 views

Distorted graphics when using custom ticks and AspectRatio -> Full

I am having a problem using custom tick specifications along with AspectRatio -> Full. The problem affects both Ticks and ...
36
votes
4answers
3k views

How to change the default ColorData used in Mathematica's Plot?

This question leads on from the recent question What are the standard colors for plots in Mathematica? There it was determined that the default color palette used by ...
2
votes
1answer
159 views

How can I plot a circular region and lines?

I am having difficulty plotting something along these lines in Mathematica. I will explain what is going on here. Basically, I am solving an interval equation $ax=b$, in the first example $a = [1, ...
2
votes
1answer
73 views

Transparency in a 3D plot

How can I make the plane in the first image more like the plane in the second? More transparent, specially. I tried messing with the Opacity and ...
-1
votes
1answer
76 views

Formatting and inserting a parameter table into a plot

I'm fitting data, and I want to put the parameter table generated by NoninearModelFit into the plot. How can I do that in a reasonable way? I want to format the ...
5
votes
1answer
136 views

Simulation Sample Paths for Stochastic Approximation Algorithm

Let $X_t$ be IID random variables in $[0,1]$ and CDF $F(\cdot)$. Suppose there exists a variable $Y_t$ given by: $Y_1 = X_1$ and $Y_t = \phi(X_t, \overline{Y}_{t-1}), \forall t >1$, where ...
0
votes
1answer
140 views

Solving System of Nonlinear with Three Differential Equations

I've been trying to solve a system of nonlinear differential equation, but the conditions are a bit weird. Two of the differentials equate to the same equation, but have different boundary ...
2
votes
2answers
61 views

Improving the speed/efficiency of multiple (finite range) convolutions for a causal response plot

So I am looking at modelling the response of a system that is excited by multiple pulses over a period of time. The way to find the response at time t is to take the convolution between the impulse ...
0
votes
2answers
62 views

Plotting3D Cylinders and planes [closed]

How can I plot3D cylinders $y=1-x^2, y=1+x^2$ and planes $2x+2y-z=10, x+y+z=2$ in a coordinates system?(with Mathematica)