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

learn more… | top users | synonyms (12)

1
vote
0answers
75 views

Odd plotting/math issue (could be a precision problem) [closed]

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) ...
4
votes
1answer
132 views

Two axis on a BarChart

I want to create a BarChart with two different y-axis, one on the left and another one on the right. For that, I did two different ...
4
votes
2answers
140 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 ...
2
votes
0answers
204 views

Intersecting RegionPlots [closed]

Does the Mathematica graphics system have any concept of intersecting regionplots? I've found about intersecting graphics but not regionplots so far. For example, if I want to show the intersection of ...
2
votes
2answers
221 views

Can not generate graph using smooth kernel distribution

I am a newbie to Mathematica so this question might looks silly. I want to generate a smooth kernel distribution graph for this set of data. The data I uploaded has two columns, the first column is ...
0
votes
1answer
99 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? ...
2
votes
2answers
167 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 ...
1
vote
0answers
42 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: ...
3
votes
2answers
137 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 ...
0
votes
2answers
81 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: ...
1
vote
0answers
64 views

Plotting roots for a singular numerically-only integrable equation [closed]

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 ...
1
vote
0answers
31 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 ...
9
votes
2answers
244 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. ...
0
votes
0answers
47 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 ...
0
votes
1answer
72 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 ...
4
votes
1answer
286 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 ...
3
votes
1answer
139 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: ...
1
vote
1answer
48 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 ...
0
votes
2answers
117 views

Plot the solution of an equation

...
1
vote
3answers
1k 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 ...
4
votes
2answers
287 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 ...
0
votes
1answer
76 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 ...
10
votes
1answer
462 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 ...
1
vote
1answer
57 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 ...
3
votes
1answer
84 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},$$ ...
2
votes
1answer
102 views

Help plot with horizontal filling

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 ...
3
votes
2answers
124 views

AxesLabel style like in FrameLabel [closed]

I would like to use ListPlot without Frame. But AxesLabel produces y-label above the y-axis ...
0
votes
2answers
563 views

How to plot an ellipsoid from an implicit equation [duplicate]

I need a way to plot a generic ellipsoid given the following implicit equation. Can someone help me? $$\frac{x^2}{a^2}+\frac{y^2}{b^2}+\frac{z^2}{c^2}=1$$
2
votes
1answer
67 views

How do I center an item in a Grid?

I was trying to use Grid to align different plots, two on the first row, and only one in the second row, so I have something like this (where a,b and c are plots): ...
6
votes
2answers
145 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: ...
2
votes
2answers
198 views

The Chart of Matrix Eigenvalues : Energy Levels

There is the possibility that this question may have been asked previously, but as we are unfamiliar with the nature of the chart below, we hope to seek a response to this query. Consider a matrix as ...
3
votes
1answer
63 views

BarPlot3D box inclusion of Graphics3D primitives

My final goal is to get coordinate grid on the z=0 plane of BarChart3D. The provided FaceGrid...
4
votes
1answer
115 views

Does not evaluate the Integral and a plane plot

I am trying to compute a ContourPlot and a VectorPlot using the following functions: ...
3
votes
1answer
231 views

How to change parameters to equations of physical properties they belong to in an equation?

First off, I want to apologize for my poor English as I am not a native speaker. In my physics research, I had to solve a system of equations, from which I would get a solution for the speed of an ...
4
votes
1answer
207 views

Mathematica 10.2 Problem with Shading between polar graphs

I've been studying the page Shading between polar graphs and there seems to be some sort of common problem with a number of the Answers. I am using Mathematica 10.2 on a MacBook Pro laptop (10.10.4). ...
5
votes
1answer
161 views

Visualize transformation used in multiple integration

In class, we will sketch the region $D$ in $R^2$ bounded by the curves $xy=1$, $xy=4$, $y=x$, and $y=x+2$. Then we will use the change of variables given by $u=xy$ and $v=y-x$. We need to show that ...
1
vote
0answers
28 views

Show Combining of RegionPLot and ContourPlot [duplicate]

If I try: RegionPlot[{y > x - 1 && y^2 < 2 x + 6}, {x, -4, 6}, {y, -3, 5}, Mesh -> None] I get: However, if I combine it with a ContourPlot: ...
7
votes
1answer
158 views

Old fashioned region method?

Just stumbled across this idea in http://users.rowan.edu/~hassen/Mathematica/Volume%20III/Chapter%2015.pdf. ...
2
votes
1answer
210 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 ...
-2
votes
1answer
146 views

Plot the result of NIntegrate for different parameter values

I want to plot the result of a numerical integration containing a parameter in terms of the parameter. The code is: ...
2
votes
3answers
536 views

Fixing ticks labels position in plot

I have made a figure with this code, where multiple plots are shown together: ...
3
votes
2answers
533 views

Plot negative and positive logarithms? [duplicate]

I'm trying to do a barchart of some negative and positive numbers. How can I show them all in Log space so that you can clearly see very big and very small exponent values? ...
2
votes
1answer
70 views

Plot a product of Beta distributions

I would like to plot the PDF of the product of a $Beta(1,1)$ and $Beta(3/2,1/2)$ random variables. I can use the following to calculate the PDF at a point $x$: ...
3
votes
2answers
187 views

How to set original color of markers in plot legend?

I tried to make a plot markers manually as follows ...
0
votes
1answer
55 views

How to give more importance to a variable in a chart

I have two variables, x and y. x goes from 0 to 10, 10 being best. ...
1
vote
0answers
37 views

Update plot legend after using drawing tools [closed]

After manually editing a plot by changing the colours and filling of the curves using the drawing tools, is there any way to update the legend, so that it corresponds with the new colours?
0
votes
1answer
71 views

Plotting data with multiple dependent variables [closed]

How can I plot a data set which has four sets of $y$ and only one set of $x$?
1
vote
0answers
63 views
1
vote
2answers
74 views

Formatting a complex ArrayPlot

I want to produce the following ArrayPlot programmatically: To produce the leftmost grid, I tried this: ...