# Tagged Questions

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

2k views

### How can I superimpose a set of points on a ContourPlot?

I am familiar with Mathematica to a certain extent, but its subtleties still elude me. Currently I am trying to solve the following problem: The function $f(x,y)$ is continuous. I know how to create ...
54 views

### Odd plotting/math issue (could be a precision problem)

I've got a pretty odd error on a project I'm working on and was hoping to enlist some advice to fix it. The goal of this notebook is to show that I can eliminate the non-normalizable (blowing up part) ...
130 views

### Individual ColorFunction with RGBColor

I want to create a custom ColorFunction using RGBColor for my DensityPlot. A nice example is ...
250 views

### How does epilog position work in logplots?

I'm trying to use Epilog in my plots but the way that Epilog uses coordinate positions isn't making sense to me. As a minimal ...
159 views

### ColorFunction - custom colors and scaling

I am trying to specify my own colors and scaling for the ColorFunction in ListDensityPlot. I have several lists of 2D values ...
228 views

### How to export figures with normal spacing in texts?

My OS is Ubuntu 14.04, and I use MMA 10. I export a figure ploted in MMA to a pdf file and then import the pdf in Latex, here is the sreenshot As you can see, the spacing in the text is odd. But ...
104 views

### How to plot the ranges of the variables of an iterated integral?

I would like to plot the volume of the following integral: $$\int _{-1}^1\int _0^{\sqrt{1-y^2}}\int _{x^2+y^2}^{\sqrt{x^2+y^2}}\left(xyz\right)dzdxdy$$ Here are the ranges of the variables from this ...
109 views

### How can I program my own financial indicator to be plotted in a TradingChart?

FinancialIndicator["ind", par1, par2, ...] represents a financial indicator "ind" with parameters $par1$, $par2$, etc. All available financial indicators can be ...
420 views

### How to implement the sample-point process like the built-ins of Mathematica?

Consider this: pts = {{0, 0}, {1, 1}, {2, -1}, {3, 0}, {4, -2}, {5, 1}}; f = BSplineFunction[pts] I can use ParametricPlot to ...
39 views

### How to plot multiple numeric ODE solutions in phase space [on hold]

I have a system of four coupled ODEs whose solution (and solution process) are sensitive to the value of a parameter $a$. $$\bar X '(t)=\bar F(\bar X, t, a)$$ If possible, I would like to create a ...
290 views

### Mapping Contour Plot onto ListPlot3D (or by using color variations)

I am trying to overlay a contour plot I have created on a ListPlot3D graph. I have seen a few questions answered on this website that answer my basic question. ...
216 views

### More Ticks::ticks errors in AbsoluteOptions in v10

Bug introduced in 7.0 or earlier and persisting through 10.2 or later While the specific bug affecting Plot described in AbsoluteOptions prints error messages in ...
110 views

### Show and hide various pieces of information in a Manipulate

I wanted to change the visibility of a function and its additional informations within a plot through the help of a checkbox, as shown in that post: Toggle visibility of elements in a plot But ...
66 views

### Adding ticks to PolarPlot [closed]

I want to add some number ticks to a unit circle in PolarPlot like the one attached, but how can I do it? ...
127 views

### Finding and plotting roots with parameter

I have the following function: $$u(x,t)=\sum_{k=1}^\infty\frac{v_0 L}{\lambda_k c \sin\left(\lambda_k\right)}\sin\left(\frac{\lambda_kx}{L}\right)\sin\left(\frac{\lambda_kct}{L}\right)$$ and this ...
215 views

### Does InterpolationOrder cause conflicts with PlotMarkers in ListPlot?

Bug introduced in 7.0 or earlier and persisting through 10.2.0 or later My code: ...
35 views

### Formatting the output of SubstitutionSystem to create a Cantor set [closed]

I want to create a Cantor set using SubstitutionSystem, and plot it appropriately. This is the best I've been able to do so far: ...
111 views

### Plotting a simple graph with more than 1 variables

Here's what I did: Plot[(Q E^(-(x^2/(4 t))))/(2 Sqrt[π t]), {x, 0, 10}] I want only x to vary. But Mathematica is giving me a blank plot. It's very strange. I ...
273 views

### How to make a ArrayPlot/MatrixPlot in polar coordinates?

in fact, I want to plot a image like: Fig1 the picture above is from a paper Zhou K.-J. et al. 2014 about ion up-flow of ionosphere in MATLAB there is a specialized function pcolor which could ...
168 views

### Problem With Mesh on 2D Plot

How to make the mesh color on 2D plot automatically same with the plot color? The code below doesn't work and produces "Automatic is not a graphics directive" error message. ...
54 views

### How to use the {{ lhs == rhs, ineqs }, … } form of Exclusions?

I am trying to make use of this option: To plot the principal portion of Tan: ...
47 views

### Plotting roots for a singular numerically-only integrable equation

In my problem I need to plot roots with respect to a parameter. But the condition for root is det(Function)=0. This function cannot be solved symbolically. So I need to put in a parameter value and ...
29 views

### How to plot market share data in standard form [duplicate]

I am trying to accomolish exactly this (not related to market but with exactly same representation): Is there any special function in mathematica to do these types of plots? Or how would you ...
108 views

### How can I fix a defect in the 3D graphics rendering of a coiled tube? [closed]

I use the following code to obtain a tube version of a spring: ...
132 views

### Is it possible to speed up the user-defined function CAGDBezierSurface?

For given control net of points $P_{i,j}, \quad i=0,2, \cdots m, \quad j=0,2,\cdots, n$,the Bézier surface is defined by the following equation: ...
44 views

### How to customize an animation [duplicate]

I want to create an animation regarding the restricted three-body problem for the Earth-Moon system. The code is as follows ...
5k views

### About multi-root search in Mathematica for transcendental equations

I have some questions for multiroot search for transcendental equations. Is there any clever solution to find all the roots for a transcendental equation in a specific range? Perhaps ...
61 views

### Constructing a grid of individual plots for data imported from a list of files [closed]

I have to plot 6 data plots (ListPlot) in a GraphicsGrid from 6 different files (each data file has four columns of which the ...
163 views

### How can I draw this polyhedron?

I'm high school student, and I am doing research about buildings using Mathematica. I want to plot the polyhedron shown below: I have tried using Table, but it ...
77 views

...
836 views

### How can we make publication-quality PlotMarkers without version 10?

Suppose that for certain reasons we are not yet using Mathematica version 10, or we have a version with buggy PlotMarkers. It is well known that the default markers ...
88 views

### Using Animate with ListPointPlot3D on more than one list

I have a couple orbits defined which have been mapped into one array as shown: ...
108 views

...
125 views

### Postprocessing of CFD results in Mathematica

I was trying to perform computational fluid dynamics (CFD) post-processing in Mathematica after solving primitive variables from Navier-Stokes equation, mainly $(u,v)$, $(Px,Py)$. Since I am not an ...
1k views

### Specific initial sample points for 3D plots

PlotPoints lets you determine how many sample points you want in each direction, but sometimes I want specific ones. For Plot ...
30 views

### Histogram and Random Lists [closed]

Suppose I have the following list listrand of random numbers from RandomReal[-30,30] (where the size of the list is 40). Is ...
38 views

### Using the Menu Color Palette in Plot Specifications [duplicate]

The color palette is accessible in various menus, (Format -> Text Color -> Palette) or by right-clicking the cell & (Cell Background -> Palette). I would like to use that palette to define colors ...
3k views

### Composing an image with a plot

I'm trying to illustrate the solutions to a textbook problem dealing with quadratic functions. This will involve plotting a quadratic and overlaying the plot and the image. Here is the textbook ...
133 views

### Can not understand the code to plot Fourier Series approximation of the line

I'm reading the CDF file from Making Formulas… for Everything in the WolframAlpha blog. I am confused by what's happening with In[9] and In[10]. Can anyone tell me what these two functions mean, or ...
323 views

### A problem about the implementation of Bezier curve

I implemented the Bezier curve like built-in BezierCurve as follow: SplineDegree -> d specifies that the underlying ...
113 views

### Scatter plot with smooth lines [closed]

I have two lists of data between which there may be some functional dependence. I want to plot one against the other (hence scattered plot) where the points are connected by smooth lines. In ...
59 views

### Plotting data from an interpolation [closed]

I have this program f = Interpolation[arw, InterpolationOrder -> 1]; Do[wx = Random[Real, {0, 1.5695}]; fwx = f[wx]; Print[fwx, " ", wx], {1000}] I want to ...
51 views

### Restricting VectorPlot3D to a specific region

I'm trying to visualize the vector field on $\mathbb{R}^3$ given by the matrix $$\begin{pmatrix} 1 & 0 & 0\\ 0 & \cosh(t) & \sinh(t)\\ 0 & \sinh(t) & \cosh(t) \end{pmatrix},$$ ...
78 views

...
94 views

### Mathematica Numeric Output [closed]

I'm using Mathematica to compute barycentric coordinates, and the output for my points is not being computed, but rather it just shows it in the form that I inputted as. For example, I have: ...
53 views

### ErrorListLogLogPlot and PlotMarkers

I recently upgraded to Mathematica 10.2.0.0 for Linux (32-bit). In the past I have used the ErrorBarLogPlots package to put error bars on logarithmic plots of lists. When I make a simple ...
3k views

Since PolarPlot doesn't support Filling, what is the best way to shade or fill the a region between two polar curves? For ...
129 views

### Plot of The RiemannSiegelZ Function

I would appreciate your help to visualize the of the following function RiemannSiegelZ[x] with this range. { 18154980120849865 , 18154980120849885 } I tried this: ...
I want to plot a graph that looks like the following, where the blue curve is $y=x^2$ and the red lines are $y=8x-12$ and $y=-8x+20$. The filling is applied horizontally from the lines to the edge of ...