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

learn more… | top users | synonyms (4)

1
vote
1answer
87 views

Plotting less of a sphere

It is a follow-up question from this one. I'll put the code at the end. So far, I have: Notice how nearer $z$ is to $0$, the more transparent the sphere is. I don't want to plot the whole ...
2
votes
1answer
81 views

RegionPlot3D does not plot “thin” regions?

Basically, I ultimately want to make something like this: However, I am unsure of how to do this in Mathematica. I'm trying to do this via RegionPlot3D, and for ...
2
votes
0answers
61 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 ...
0
votes
1answer
56 views

Draw filled regions in DateListPlot

How do I draw specifiq filled regions in DateListPlot? I trying to plot something like this: Thanks
0
votes
2answers
50 views

Proper arguments to ListPlot? [closed]

...
0
votes
1answer
52 views

NDSolve printing error message NDSolve::ndode [closed]

Using NDSolve while solving system of ODE's. Here is my try ...
0
votes
1answer
87 views

Plotting Complex Numbers - Functions of Complex Numbers [duplicate]

So I have to generate a few different plots with z, where z is a complete number... z[x_, y_] := x + y*I F[z_] := (25*Pi*z*I)/(1 + 10*Pi*z*I) First, I need to ...
0
votes
1answer
67 views

How to plot and visualize a single linear vector in 3D? [closed]

I have a vector (in physic) designated as F1=250cos(60)i+250cos(60)j+250cos(45)k, and i would like to see it in a 3D graphic with the axis centered at the origin, after what i would include other ...
0
votes
1answer
79 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
54 views

How to extract data points from an image of a log log plot? [duplicate]

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. ...
1
vote
0answers
50 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
72 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
42 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
47 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: ...
7
votes
1answer
250 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 ...
6
votes
1answer
193 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
109 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
55 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
37 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
77 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
161 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
33 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
66 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
59 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
108 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
45 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) ...
0
votes
0answers
62 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
139 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 ...
1
vote
1answer
143 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
91 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
90 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
47 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
123 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
60 views

ListPlot and AspectRatio

Here is a simple scenario ...
0
votes
1answer
74 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
73 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
40 views

Manipulate - Plot - Function with Parameters [duplicate]

dear community! How do I make this construction work? ...
0
votes
0answers
21 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
73 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
88 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
110 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
32 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
98 views

Help with plotting and improving code

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

Problems with the plot of a function. [duplicate]

For some reason the result of Plot of the following function: ...
3
votes
1answer
138 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
100 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
130 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
709 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: ...