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
1answer
19 views

Equivalent parametric plots don't look the same

ParametricPlot[ {1, Tan[t]}, {t, -Pi/3, Pi/3}] ParametricPlot[ Sec[t] {Cos[t], Sin[t]}, {t, -Pi/3, Pi/3}] The second parametrization does not plot like the first, ...
0
votes
0answers
16 views

how to extract data points from picture of a log log plot?

I have a picture of a log-log plot, taken from a paper and I want to extract the data points so I will be able to plot them again along with results of my own solution. I would appreciate your help. ...
0
votes
0answers
16 views

Parametric Plot and Dynamic

I have: ...
1
vote
0answers
34 views

Evaluating documentation example crashes the kernel

Save your work before attempting: Could someone confirm what looks like a bug (definitely occurs in v10 and OSX 10.8.5): In the documentation for Background and ...
3
votes
2answers
48 views

Overlay vector logarithmic plot and rasterized logarithmic ListPlot

I would like to produce a output PDF file of a log-linear plot obtain by composing the plot of an analytical function and a scatter plot of some random data. Since the random points are of the order ...
-1
votes
1answer
30 views

Specify and rename ticks in FrameTicks

When I plot, I use Frame -> True I would like all ticks on the frame axes to disappear and remain only with two ticks, say, 0.1 on the x-axis and 0.5 on the y ...
0
votes
1answer
28 views

Complex number plot with inequalities [duplicate]

I need to plot the function where z is a complex number: $$S = {z:|z + 0.15|<0.6} \wedge {z:Pi/4<=arg(z)<=Pi}$$ I can do this: ...
2
votes
1answer
82 views

Computing launch parameters for hitting a point in 3D with projectile under influence of wind

The end goal of this problem is to compute functions which describe the launch parameters which are needed to hit a specified goal in 3D in the presence of wind disturbances. This is as far I have ...
4
votes
1answer
119 views

How can a function know in which function it was evaluated?

Hello my second question here might be very hard. I am asking for something "magical", if i define a function g and i call it inside a function f, how can g have information about the outer function ...
1
vote
2answers
81 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
34 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
0answers
29 views

“Enlarge” a plot for export

I wish to export a plot with more resolution than it starts with. Interactively, I can do this by enlarging the image, and then exporting. Is there a way to do this programmatically? I attempted to ...
0
votes
1answer
57 views

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

I want to plot the maximum and minimum 3D surface for the following property: ...
-1
votes
0answers
29 views

How to plot Dirichlet distribution on 3d probability simplex?

I am trying to plot 3-d Dirichlet distribution on the probability simplex. I checked mathematica document http://reference.wolfram.com/language/ref/DirichletDistribution.html and it uses the following ...
4
votes
2answers
106 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
22 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
51 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
52 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
80 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
39 views

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

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) ...
0
votes
0answers
55 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 ...
1
vote
1answer
123 views

Singularity on a simple Plot

While solving quartic equation ...
0
votes
0answers
29 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 ...
0
votes
0answers
27 views
1
vote
1answer
90 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 ...
1
vote
2answers
78 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 ...
0
votes
0answers
75 views

Selectively remove ticks in a plot

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
41 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 ...
-3
votes
3answers
109 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
45 views

ListPlot and AspectRatio

Here is a simple scenario ...
0
votes
1answer
44 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
60 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
28 views

Manipulate - Plot - Function with Parameters [duplicate]

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

Manipulate and Plot, How to keep vertical axis still? [duplicate]

Consider this: Manipulate[Plot[1./n*Sin[t], {t, 0, 10}], {n, 1, 10}] When I change n, I expect the height of the plot ...
0
votes
2answers
41 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
71 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
69 views

Drawing an dodecahedron with vertexes at given coordinates

I want to draw an (edit)dodecahedron with the vertex in the following coordinates: ...
0
votes
0answers
31 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
87 views

Help with plotting and improving code

I'm trying to solve a coupled DDE. Here is my code ...
2
votes
2answers
132 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
50 views

Problems with the plot of a function. [duplicate]

For some reason the result of Plot of the following function: ...
3
votes
1answer
132 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
87 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: ...
1
vote
1answer
102 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 ...
13
votes
1answer
645 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: ...
3
votes
0answers
43 views

WorkingPrecision in LogLogPlot creates wrong plots

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 case, without WorkingPrecision ...
2
votes
3answers
94 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 ...
0
votes
0answers
44 views

How to make Show work in Mathematica 10 Kernel

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 ...
0
votes
0answers
39 views

Plotting a summation [closed]

I've never used Mathematica before and I'm having a little trouble with how to plot a summation. I've spent a few hours now trying to search online and put it all together but this is far as I got: ...
0
votes
0answers
12 views

why does a ReplaceAll stop Plot from cycling colors? [duplicate]

Suppose I Plot[{a x^2, a x^3} /. {a -> 2}, {x, 0, 1}]. Then the expressions plot, but the colors do not cycle. If I Evaluate ...