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

learn more… | top users | synonyms (8)

0
votes
0answers
9 views

How to implement moving standard deviation with time series?

Import the following dataset and convert into time series ...
10
votes
2answers
167 views

Plot of $sin(x^x)$ is missing from $x=143$

When plotting the graph of $sin(x^x)$ I noticed that there is no plot from about $x=143$. I don't suppose there is a purely mathematical explanation for this? So, why is there no graph in ...
3
votes
2answers
216 views

Handling options in my function

It seems this should be easy, by I just can not figure out how. I want to have a function that I can pass a list of options to, or use a default. I have found two very similar questions, but I can't ...
4
votes
1answer
61 views

Gaps in the plot of a cumulative distribution function produced from HistogramDistribution

I have about 200 real numbers spread over the range 0-400. I use HistogramDistribution to bin them and PDF to create the ...
3
votes
1answer
59 views

How to reconstruct a given schematic picture from color image

There is a nice website on popular Economics with stylish picture. ...
9
votes
1answer
819 views

Why is this 2D plot so slow?

I first do a 3D Plot of four surfaces (eigenvalues of a $4\times4$ matrix) over $kx,kz$ (setting $ky=0$ all along). And then I try to give a 2D plot along three connected particular lines in ...
4
votes
2answers
189 views

How do I plot a space curve as a ribbon?

I know Mathematica has a built in Tube function, but I want to be able to change the parameters of a ribbon and visualize that. Is this possible? How do I do this? ...
5
votes
0answers
47 views

Contour labels on SliceContourPlot3D?

SliceContourPlot3D doesn't seem to come with the option of putting contour labels on the plots as far as I can see. I'm using the ...
4
votes
2answers
59 views
0
votes
1answer
53 views

Plotting a function based on complicated integral

I have this function : f[Lambda_] := K Integrate[x Exp[- x^2-Lambda x] HypergeometricU[-Lambda,1/2,(x+ Lambda/2+2)^2],{x,0,Infinity}]; where ...
3
votes
1answer
54 views

Densityplot: isolines

I'm plotting a densityplot map from interpolated data. I need to draw lines in which the value of my function is constant (isolines), but to be constant is not the function itself but a manipulation: ...
3
votes
4answers
182 views

ParametricPlot3D for only part of a sphere

I want to plot the region of a sphere that satisfies the equation $$ \tan\theta\geq-\frac{z}{x\cos\phi + y\sin\phi} $$ where $x$, $y$, $z$ are my parameters. The spherical coordinates $\theta$ and ...
6
votes
2answers
165 views

How to draw a family of planes and its envelope?

Motivated by a question in MSE, I have the following question: How can I visualize the envelope of the family of planes $$ 2ax+2by-z+a^2+b^2=0, a,b\in\Bbb{R} $$ which is given by the ...
8
votes
2answers
189 views
6
votes
2answers
190 views

Plotting a function with three real arguments using transparency

I would like to plot a real function with three real arguments by assigning a transparency and color to the function values. The smallest value in the plotting range should be fully transparent, the ...
3
votes
1answer
171 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
2answers
73 views

Ex-post monochome plots [duplicate]

I need to "monochromize" a large amount of plots (mostly coming from ListPlot) and export them to PDF. The problem is that I no longer have the data used to ...
2
votes
1answer
69 views

Solve and plot differential equation

I want to solve this differential equation $\qquad y'(x)=\frac{x-y(x)}{1-y(x)-x}$ and plot it's solution. But DSolve doesn's work. ...
1
vote
1answer
83 views

How to improve speed of the following code

The following code do what I needed, but it takes too long ...
1
vote
0answers
52 views

How to properly set ColorFunction and Specularity in ReliefPlot

I have two questions about ReliefPlot: How can I set the Specularity without changing ...
0
votes
1answer
57 views

How to plot equally discrete points? [on hold]

I'm trying to create a table of equally discrete points and plot them with: a = 5 ListPlot[Table[{a/9*(i - 1), a/9*(j - 1)}, {i, n}, {j, n}]] But I cannot plot ...
14
votes
3answers
337 views

How to group and join points

It seems there are many similar questions on Mathematica.SE, but none addresses (to the best of google) exactly my problem. I have the following data: ...
3
votes
1answer
58 views

RegionPlot with different boundaries

I would like to plot different regions, some of them with different boundaries. For instance if I use ...
3
votes
2answers
72 views
12
votes
5answers
347 views

How to extract a contour line (or a region) from a ContourPlot?

Given a ContourPlot with a set of contours, say, this: is it possible to get the contours separating domains with the different colors in the form of lists? ...
5
votes
1answer
212 views

Unexpected result when using PlotRange in Mathematica 10

Show[ Plot[x, {x, 0, 1}, PlotRange -> All], Frame -> True, PlotRange -> {{0, 1}, {0, 1}}, AspectRatio -> 1] gives the expected result in ...
3
votes
0answers
199 views

Position tick labels on box sides of the axis

I use ticks label both for scale (0.8, .9, 1.0, ... ) and for marking specific values of interest (with custom text). I'd like the numbers to be above the axis and the text below it. I was able to ...
0
votes
1answer
118 views

Empty plot when calling the SphericalHarmonicY function in Plot or SphericalPlot3D [duplicate]

I'm getting an empty plot for the following code: SphericalPlot3D[ 2*Pi*Sin[theta]*SphericalHarmonicY[100, 50, theta, phi], {theta, 0, 2*Pi}, {phi, 0 , Pi}] ...
1
vote
1answer
55 views

Changing a piecewise function into a periodic function [duplicate]

I have: f[x_] := Piecewise[{{x, 0 <= x < 1}, {2 - x, 1 <= x < 3}, {x - 4, 3 <= x < 4}}] Plot[f[x], {x, 0, 4}] Which produces this plot: ...
4
votes
1answer
148 views

Graphics3D/Plot3D rendering issue

I have an issue in Mathematica with the rendering of 3D graphics. Two sides (right and bottom) of some sort of bounding box are present, and, in the instance of ...
2
votes
1answer
89 views

Automatic text-wrapping in labels in `TimelinePlot`

Part-related to this question and part-related to this one, I would like to make use of the new features of TimelinePlot in 10.3, but would like to incorporate some ...
1
vote
1answer
47 views

Timing and ListPlot

I am currently trying to examine the Timing function as it relates to generating primes and factorize large integers. What I want to do is to visualize how time ...
0
votes
2answers
67 views

How to plot in the complex plane? [duplicate]

I am new to Mathematica and I would like to ask how to plot in the complex plane in general. Also, as an example, how do you plot $e^{i\theta}$ in Mathematica? In physics the function $e^{i\theta}$ is ...
17
votes
4answers
557 views

LogPlot axes labels destroyed when working in high precision

Bug introduced in 7.0 or earlier and persisting through 10.3.1 or later (I'm using Mathematica 8.) I have a Taylor series: ...
1
vote
1answer
45 views
3
votes
1answer
128 views

Plotting function with unique symbols [on hold]

I would like to plot a function which involves multiple symbols created using Unique. Consider the following simple example. ...
-1
votes
0answers
46 views

Creating Vector Field Plots for an Implicit Equation [on hold]

I am having difficulty creating a vector field plot for the implicit equation Log[(2x-1)/(x-1)] == t (* Did your best to use Mathematica syntax *) Where ...
0
votes
0answers
27 views

how to plot many curves for different values of a certain parameter [closed]

how to plot many curves for different values of a certain parameter of a function? how to plot many curves for different values of a certain parameter of a function? i.e. i need to get one figure ...
6
votes
2answers
843 views

How to create a histogram of annual events, such as cherry blossom time

I have calculated blooming and ripening times for a specific variety of plant, based on actual temperature data from over 40 years. I would like to create two histograms on a single axis; one for ...
0
votes
0answers
75 views

Phase space of a system of differential equation

I have a system of three Coupled nonlinear equation of a physical system and i would like to plot the phase space. My system is a chaotic system dependant of three variable dependant of time (l1, ...
42
votes
7answers
21k views

Labeling individual curves in Mathematica

I need to create a plot for export and inclusion in a report. Is there a better way to label curves than PlotLegends? From what I've read and my personal ...
1
vote
1answer
104 views

Out of range red glow on inter-dependant sliders in manipulate

In manipulate, I need to define two sliders : one basic slider, and a second one for which the end value depends on the current value selected on the first slider. How can I achieve this in ...
2
votes
2answers
52 views

Manually assigning Axes label position in Plot3D

How can I adjust the position of axes labels with respect to the axes they are bound? Like shifting slightly right or left. I do not what to destroy the graphics' dynamics and render it 2D. ...
9
votes
2answers
98 views

Unexpected view of the Comsol result when I postprocess it in Mma

I simulated some nonlinear PDE using Comsol. Here one can find the results u=u(x,y) in the form of an Excel table with the terms ...
2
votes
1answer
50 views

Plotting certain time points in a parametric equation? [closed]

I'm using Mathematica 5.0 and I have the following problem. I have the following parametric equation that I plotted successfully. ...
1
vote
1answer
96 views

Color a single contour from a ListContourPlot3D using values from a list

I want to map an electrostatic potential onto a density map. How can I color a single contour from a ListContourPlot3D using the values from another list? Make ...
4
votes
2answers
75 views

A simple question about replaceall and plotting

I was trying to replicate the picture produced on the following Wikipedia page: https://en.wikipedia.org/wiki/Evolute with the astroid emerging as the envelope of normals to the ellipse. I ran into ...