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

learn more… | top users | synonyms (10)

1
vote
2answers
158 views

A cone being intercepted by a slanted plane

I have the 3d cone: Plot3D[-Sqrt[x^2 + y^2], {x, -20, 20}, {y, -20, 20}, Mesh -> None, BoxRatios -> {1, 1, 1}] I need a slanted plane intersecting it. ...
0
votes
1answer
122 views

Region projection of multivariable interpolated function

I have a problem plotting a multivariable interpolated function when projected into two-dimensions using Resolve and RegionPlot. ...
0
votes
1answer
160 views

How to plot 3D maximum and minimum surfaces? [closed]

I want to plot the maximum and minimum 3D surface for the following property: ...
4
votes
2answers
474 views

How to generate mesh and calculate volume of 3d object?

I saw a couple of posts dicretizing the graphic and generate DelaunayMesh to get volume of 3D object. The issue I'm having is that DelaunayMesh creates a bigger solid covering the original one, ...
0
votes
0answers
81 views

GeoLabels/Tooltips in Geographic Plots from Dataset

I am looking to plot a list of list of regions, and attach some data to the GeoLabel. All the data is stored right now in a Dataset that contains entries of the form ...
1
vote
1answer
180 views

Piecewise ColorFunction for Plot3D

I want to make a 3D plot where the ColorFunction is different depending on whether the function value is positive or negative. I know how to do the following: ...
0
votes
1answer
60 views

Problem in evaluation of a solution and plotting

I've written out a code which solves a equation and uses this solution to find "ph". ...
4
votes
1answer
225 views

Opacity and Plot

I have the following function : Plot[-2Cos[ Sqrt[50]/2 Sin[theta]] - 2, {theta, 0, Pi/2}, PlotStyle -> Opacity[0.5], AxesLabel -> {θ, E[θ]}] My ...
2
votes
0answers
166 views

Getting error messages from a Plot expression containing an integral [closed]

This should be a really simple question, but I just got confused. Plot[Integrate[x, x], {x, -5, 5}] Integrate::ilim: Invalid integration variable or limit(s) ...
1
vote
0answers
148 views

How to control the frequency range of Spectrogram?

How do you control the frequency range of Spectrogram? There is no obvious option. The documentation says it uses the same options as ArrayPlot, but PlotRange does not work in the way expected (it is ...
2
votes
1answer
237 views

Singularity on a simple Plot

While solving quartic equation ...
0
votes
0answers
30 views

Simple Sin plot generates unexpected output? [duplicate]

I an trying to do a very simple smooth Sin wave... Plot[Sin[ 2 Pi 440 t], {t, 0.0, 0.1}] ...but I am getting an unexpectedly non-smooth plot for it... What is ...
1
vote
1answer
383 views

How to add error bars to a fit function in Mathematica 10?

My professor gave us the following code to fit a Lorentzian to our data. I want to add vertical error bars (with individual error found in the experiment) to the plot but I don't know how. Any ...
2
votes
2answers
153 views

Coloring a map of GeoRegions

I know that I can plot multiple GeoGraphics results on the same map by using something like Show[Graphics@@p1, Graphics@@p2], but it doesn't really work (seems to ...
3
votes
0answers
151 views

Selectively remove ticks in a plot [closed]

I would like to remove some ticks from a plot without having to edit manually the list of ticks generated automatically by Mathematica. My aim is to have a plot where the axis label are close to the ...
0
votes
1answer
64 views

EdgeRenderingFunction For 2 Vertices in a Loop

Assume there is a set of rules: set = {"A" -> "B", "B" -> "A", "B" -> "C", "C" -> "D", "D" -> "A", "C" -> "C"}; which we want to graph using ...
0
votes
1answer
125 views

How to plot first and second row from matrix to a graph

i have this function: ...
-2
votes
3answers
257 views

How can I plot a polygon with n sides inscribed in a circle and show the area?

I am doing some work on Archimedes and want to show what the area of a regular n-sided polygon is within a circle. My professor from two years ago was able to show it with an adjustable slider that ...
1
vote
1answer
101 views

ListPlot and AspectRatio

Here is a simple scenario ...
0
votes
1answer
208 views

Copy/export a plot as vector EMF

I want to generate a plot using Plot, copy it and paste to a Word/PowerPoint document as a vector EMF file in order to preserve best quality of an image. However I found out that if I Copy Graphic ...
1
vote
2answers
194 views

Creating histograms with specified mean and intervals

I have a set of data that I want to create a histogram for. The thing is, I would like to set the center of the histogram to the mean of the dataset and the intervals to be the standard deviation. How ...
0
votes
1answer
85 views

Manipulate - Plot - Function with Parameters [duplicate]

dear community! How do I make this construction work? ...
0
votes
2answers
509 views

Unknown option LegendPosition (even after Needs[“PlotLegends`”]) (Mathematica 10.0)

I'm running Mathematica 10.0 for Students. When I tried ...
0
votes
3answers
183 views

ListPlot3D not working for very small numbers

I have defined a function FreeEnergy[x,y], which I want to plot in 3D. It is a function involving numerical integrals. When I make a flattened table ...
0
votes
1answer
278 views

Drawing an dodecahedron with vertexes at given coordinates

I want to draw an (edit)dodecahedron with the vertex in the following coordinates: ...
9
votes
0answers
206 views

Mathematica and POV-Ray workflow: ListContourPlot3D

I have the following function describing a molecular electronic Orbital. ...
0
votes
0answers
35 views

How to fix the PlotRange on LogPlot? [duplicate]

I'm plotting families of Boltzmann'esque distribution functions $\propto\exp\left(-{\dfrac{\varepsilon+{\mathcal O}(\varepsilon^2)}{k_\mathrm{B} T}}\right)$. But it won't let me fix the ...
1
vote
1answer
121 views

Help with plotting and improving code

I'm trying to solve a coupled DDE. Here is my code ...
2
votes
2answers
222 views

Adding map to 3D plot?

I've made a 3D plot of a pressure surface over the region 160W-20W, 20N-80N - the right panel and I would like to put a map under it, probably just continental outlines for simplicity. I'm just ...
0
votes
1answer
122 views

Problems with the plot of a function. [duplicate]

For some reason the result of Plot of the following function: ...
3
votes
1answer
159 views

Mysterious spikes in Plot3D

I am using Mathematica 9 and get these strange spikes when I plot the following simple function. I have seen a previous post about this but cannot figure out what is wrong with the following code. ...
2
votes
1answer
208 views

How to plot on complex plane with Mandelbrot set

I essentially want to treat the Mandelbrot set plot as a normal plot so that I can plot arrows and points on top of it. This is what I want to do but it gives me an error: ...
2
votes
1answer
452 views

Show plot legends for multiple curves in one plot [closed]

I have 5 curves, figure1a0, figure1a001, figure1a01, figure1ae01, and figure1ae001,. I display all these curves in one plot with Show. I want to give a label to ...
17
votes
1answer
1k views

Is Mathematica `ContourPlot` function really so efficient?

I wanted to find the roots of the function $f(x,y)=\sin(3.2x)\sin(1.3y)-2.1 \sin(1.3x)\sin(3.2y)$. This is what the function looks like: ...
5
votes
1answer
126 views

Specifying WorkingPrecision in LogLogPlot produces invalid plots [duplicate]

I seem to have found a bug with LogLogPlot in Version 10. If I specify a working precision, the function produces total garbage. Here is a simple example. The first ...
2
votes
3answers
553 views

Plot a table of lists

I want to make a point plot of a table with lists in it. Assume I have data like this: data={{1,2,3,4},{5,6},{1,5},{2,4}}; and now I want to make a point plot ...
1
vote
0answers
87 views

How to make Show work in Mathematica 10 Kernel [closed]

Wolfram Research says it no longer supports JavaGraphics in Mathmatica 10. This is very bad for people who prefer the Kernel to the FrontEnd. However, I am still able to get it to work. Show ...
-1
votes
1answer
88 views

Define a function and then integrate and plotting of the solved function [closed]

First I want to solve for $n_{0}$ for a fixed value of $n$, lets say $n=1$ $$ n= n_{0}+ \dfrac{1}{2}\int_{-1/2}^{1/2}dq\left(\dfrac{e_{q}+Un_{0}}{\hbar\omega}-1\right) $$ where $e_{q}=2[1-cos(2\pi ...
2
votes
1answer
106 views

Pausing a dynamic display

I'm trying to display some graphs, which were defined with plot above this line of code. The parametric plot moves through all of the x values, the others are stationary. I would like the parametric ...
0
votes
2answers
517 views

Lotka Volterra Equation Plotting

So I have a basic Mathematica assignment where we need to numerically solve a Lotka-Volterra predator-prey population equation. So far I have managed to come up with this ...
0
votes
1answer
62 views

Compute the evolution of several quanties from a data file

This question is somehow a part II of this: Part I. Here comes a small data sample as a minimal working example: ...
0
votes
1answer
189 views

How to Obtain a ListPlot in each loop of Do[]. BUT not a list of plots after the DO[] [duplicate]

I´m trying to obtain ListPlot inside a DO loop but, always I can see the final semicolon in red, and the code runs well except the PLOTS. How can I obtain the ListPlots in each iteration? ...
1
vote
0answers
117 views

How to add a Bar Legend to a density plot over the surface of a sphere?

I have a function with variables (theta,phi) the spherical coordinates. I want to represent it as a density plot over the surface of a sphere. following an answer to a previous question Density ...
0
votes
2answers
107 views

Flipping Vertical Axis in ParametricPlot [duplicate]

Basically, I'm trying to "rotate" a plot clockwise so that the former x-axis is pointing down, and the former y-axis is pointing to the right. From reading some answers on here, I gathered that I can ...
3
votes
3answers
472 views

Plot Plane to Intersect 3D Contour Plot in Mathematica

I have a 3D model of a heart in Mathematica and I'm trying to create a plane so that the open surface (as seen in the image below) is cut off so that the heart can have a solid, level surface. How ...
0
votes
2answers
76 views

Help me plot a tangent with a Sin curve [duplicate]

Hi just wondering how to graph the tangent as well as this curve on the same graph : f(x)= Sin[x] at x=0 where the gradient of the tangent is 1
0
votes
1answer
66 views

Problems using a complicated function within a LogLinearPlot [duplicate]

my problem is that I have a rather large function which I'm trying to plot, which looks something like this: ...
0
votes
2answers
161 views

How to draw the area that cover given points on listplot

I have a lot of points' coordinates. I drew them on a 2d plot with ListPlot, and the points cover an area. Then I need to get the region that cover these points. Is there a way to do that? Thanks.
1
vote
2answers
86 views

Why Plot does not work with a computed integral?

I have been following the examples of the official W|A documentation; exactly: http://reference.wolfram.com/language/tutorial/UsingANotebookInterface.html The ...
4
votes
0answers
101 views

Exclusion disappears but style doesn't work

Consider this code: f[x_]:=(6 + 4 x + x^2 - x^3)/(x-2) Plot[f[x], {x, -10, 10}, Exclusions -> {2}, ExclusionsStyle -> Directive[Red, Dashed]] It produces ...