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

learn more… | top users | synonyms (6)

4
votes
1answer
162 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
104 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
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 ...
0
votes
2answers
108 views

Plot the solution of an equation

...
6
votes
1answer
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: ...
1
vote
3answers
112 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
124 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
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 ...
9
votes
2answers
322 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
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 ...
3
votes
1answer
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},$$ ...
2
votes
1answer
44 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 ...
1
vote
2answers
58 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
106 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
54 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): ...
0
votes
0answers
45 views

Plotting bug in RegionPlot of MMA 10.0?

I am running MMA 10.0 under OS X 10.9.5. I found the following behavior that appears to be a bug in RegionPlot and RegionPlot3D. In its simplest form: ...
5
votes
2answers
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: ...
2
votes
2answers
101 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 ...
0
votes
0answers
9 views

Searching personal account questions [migrated]

Is there a way to search for something that exists in just the questions I have posted on Mathematica Stack Exchange?
3
votes
1answer
48 views

BarPlot3D box inclusion of Graphics3D primitives

My final goal is to get coordinate grid on the z=0 plane of BarChart3D. The provided ...
4
votes
1answer
99 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
87 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
131 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
148 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
26 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
129 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
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 ...
-1
votes
0answers
43 views

Plotting functions for different constant variables on the same graph

I have some constant inputs and functions as shown below and I have some another complicated functions depends on these functions. I want to plot that "another functions" and the question is that, how ...
-2
votes
1answer
42 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
73 views

Fixing ticks labels position in plot

I have made a figure with this code, where multiple plots are shown together: ...
3
votes
2answers
161 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
62 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
124 views

How to set original color of markers in plot legend?

I tried to make a plot markers manually as follows ...
0
votes
1answer
48 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
31 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
57 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
44 views
1
vote
2answers
55 views

Formatting a complex ArrayPlot

I want to produce the following ArrayPlot programmatically: To produce the leftmost grid, I tried this: ...
4
votes
0answers
114 views

Visualizing the Lagrange Multiplier Solution

This question is based on work in Susan Colley's Vector Calculus, 4th ed. The question is to find and classify critical points of $f(x,y,z)=3xy-4yz+5xz$ subject to the constraint ...
1
vote
2answers
215 views

Plotting a parametric function containing an integral [closed]

I need to plot this expression $$ \phi(s; H,B)=\left(\int_{0}^{s}\frac{1+B\ \sin2H\ t}{\sqrt{1+B^2+2B\sin2H\ t}} \text{d} t,\ \frac{1}{2H}\sqrt{1+B^2+2B\sin2H\ s}\right)$$ for $H=0.5$, $B=0, 0.5, 1, ...
0
votes
1answer
42 views

Is it possible to plot a piece-wise function from lines? [closed]

The following code can explain my intention, although it does not work (the output is empty and no error message). ...
3
votes
0answers
78 views

Mathematica 10.2 break downs when `StreamPlot`-ing

Bug introduced in 9.0.0 and persisting through 10.2 or later This code meets error: ...
0
votes
0answers
22 views

Show[cp1,cp2, …] but PlotLabel in cp2 does not show up [duplicate]

I am visualizing the extrema of $f(x,y)=x^3+3y^2$ constrained to the level curve $g(x,y)=xy=-4$, found by using the Lagrange Multiplier Method. ...
6
votes
2answers
123 views

Visualize scalar field $f(x,y,z)$ in three dimension

I am trying to visualize scalar field in three dimension generated from some simulations with tuples $(x, y, z, w)$ where $w=f (x, y, z)$. Here is my first attempt ...
2
votes
1answer
79 views

Adding labels to graphics

Maybe not a very descriptive title, but I wasn't sure how to pin it down. What I have is an array of vectors, a numerical example of which would be ...
2
votes
1answer
47 views

3D-Plot of a list of complex numbers and a list of real numbers

I'm a newcomer to Mathematica, and I'm having trouble with the following question. Say we have a list of complex numbers list1 and a list of real numbers ...
1
vote
1answer
30 views

Reverse order in evaluated list

I solve the following set of ODE and plot solution of S1 vs k2 (Figure 1). ...
7
votes
1answer
77 views

Where is the other half of my fourth degree Bézier curve?

Bug introduced in 10.0.0 and fixed in 10.2 When I enter the following command, half of the fourth-degree spline is missing from the graph (i.e. it doesn't touch the last point). Is this a bug in ...