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

learn more… | top users | synonyms (8)

2
votes
2answers
43 views

How to mix symbols and text for labels in manipulate? [on hold]

I'm creating a big manipulate box with several sliders, and each slider must have a small explication text (units, for example) after a mathematical symbol. As a simple example, here's the code I'm ...
5
votes
2answers
433 views

Graphing time-series

I'm currently trying to use data gathered as a function of time (here, the fluorescence of a biological sample), but am new to Mathematica and don't know how to properly specify axis relations (and ...
0
votes
0answers
63 views

Slow and laggy animation of an electromagnetic wave

I made a manipulate code of an electromagnetic plane wave which works relatively well, but is very slow and laggy for what it does (showing just a bunch of rotating or oscillating arrows). What is ...
2
votes
3answers
104 views

Contour plot of the imaginary portion of a function given the real part is positive

How do I plot the imaginary part of the function while its real part is positive? For example, for the below code I could have the imaginary part but I am not able to find the positive or negative ...
0
votes
0answers
93 views

Phase space of a system of differential equation [on hold]

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, ...
3
votes
2answers
239 views

Handling options in my function [duplicate]

It seems this should be easy, by I just can not figure out how. I'm making many very similar style plots, so I want to make a function with all the default options specified. Sometimes I need to tweak ...
0
votes
1answer
44 views

How do I combine a ListPlot and a Magnitude BodePlot [on hold]

I have frequency response data from a lab test. I can make a ListPlot of the data. I have theoretical frequency response plotted as a BodePlot. I want to combine (overlay) the lab data on the ...
3
votes
2answers
123 views

How to add Thickness in ListContourPlot3D

How do you add a thickness to ListContourPlot3D. Extrusion works with ContourPlot3D, but ...
5
votes
3answers
82 views
29
votes
3answers
3k views

Avoiding white lines inside filled area in RegionPlot exported as PDF or PS

When doing a RegionPlotand then exporting (or saving from the front end) as PDF or EPS, there are small white lines in the filling of the region. Here's an example ...
1
vote
1answer
65 views

Plotting a two lists generated after running a for loop [on hold]

So i had to model and solve a harmonic oscillator, being driven by a random driving force. I have managed to finish that and my program is: ...
1
vote
1answer
112 views

How can I implement a moving standard deviation for a time series?

I imported the following dataset and converted it into a time series. ...
4
votes
2answers
79 views

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

I have about 200 real numbers spread over the range 0-400. I use HistogramDistribution to bin them and PDF to create the ...
2
votes
1answer
108 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 ...
5
votes
3answers
221 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? ...
10
votes
2answers
207 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
1answer
87 views

How to reconstruct a given schematic picture from color image

There is a nice website on popular Economics with stylish picture. ...
10
votes
1answer
852 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 ...
5
votes
0answers
51 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 ...
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
64 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
196 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 ...
7
votes
2answers
171 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
191 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
81 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
72 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
86 views

How to improve speed of the following code

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

How to properly set ColorFunction and Specularity in ReliefPlot [on hold]

I have two questions about ReliefPlot: How can I set the Specularity without changing ...
0
votes
1answer
60 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
349 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
59 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
78 views
12
votes
5answers
363 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
214 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
56 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
558 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 [closed]

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 [closed]

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
846 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 ...