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

learn more… | top users | synonyms (8)

1
vote
2answers
76 views

How to show many normal distribution curves in one plot

I have about 30 PDFs (normal distributions). The mean of each is 0.386, but every one has a different standard deviation. I want to show them all together in a single plot with different color and ...
0
votes
1answer
51 views

How to produce a outer frame around a plot [closed]

The following question is related to plots and graphics. For a plot: ...
0
votes
2answers
30 views

Plot Piecewise does not work with NDSolve, works with ordinary function [closed]

How to join output from NDSolve with another function in a plot, using Piecewise or something else? I could join a simple function with another in a plot, but could not do it for the output. MWE: ...
3
votes
2answers
121 views

Using RevolutionPlot3D to visualize a volume

I am working with some calculus students and trying to visualize solids of revolution. RevolutionPlot3D works well for this, but I am having a bit of difficulty with the syntax of the command. The ...
0
votes
1answer
86 views

Move figure to origin [closed]

I have used PixelValuePositions to get coordinates from a figure. But I would like to move the figure, so the origin is in the middle of the figure. An example ...
4
votes
0answers
57 views

InterpolationOrder has no effect on ListContourPlot when the data is of the form {x,y,f[x,y]}

This is related to the issue brought up here, if you want to mark it as duplicate feel free to do so, but it is slightly separate. Take two sets of data, identical except for the form, ...
3
votes
1answer
84 views
1
vote
1answer
85 views

PametricPlot3D vs ContourPlot3D

Basically, I don't know whether I am missing something mathematically fundamental or I misued Mathematica's functions. ...
0
votes
1answer
105 views

Plotting two variables indirectly dependent on each other

I have the following system of linear ODEs for "i" number of species "c" migrating in "j" number of habitats: ...
4
votes
2answers
123 views

How to set the bar exactly in the center of plot marker?

ErrorListPlot usually does not put the error bar exactly in the center of the plot markers. For example: ...
3
votes
2answers
114 views

BarChart with empty bars removed

Consider the following BarChart: ...
4
votes
1answer
172 views

Plotting Riemann Surface of $w(z)=\sqrt{1-z^{2}}$

I'm working in the plotting the Riemann surface of two functions, namely: $$ w_{1}(z)=\sqrt{1-z^{2}} \,, $$ and $$ w_{2}(z)=\tanh\left(k\sqrt{1-z^{2}}\right)-2iz\frac{\sqrt{1-z^{2}}}{1-2z^{2}}\,, ...
0
votes
0answers
41 views

Exploring contours plots of two Binormal distributions

I am facing a little interesting problem. Let´s suppose two binormal distributions, as follows: ...
1
vote
1answer
73 views

Plotting data from a Table in Mathematica

I have been able to solve some differential equations using Tables. The code works fine without errors. However, I am unable to plot the results. Any help would be appreciated. ...
7
votes
2answers
110 views

Animating a growing ListPlot

I stumbled upon this (rather contrived but interesting) integer sequence. As it exhibits quite different behaviour at different scales, I would like to generate an animated ...
6
votes
1answer
129 views

Bug in Export - known by Wolfram Support - upper plot margin depends on string length of upper horizontal axis label

Bug introduced in 9.0 and persisting through 10.3 or later ! See at bottom the answer by Wolfram Research. I am running Mathematica 10.3. For test purposes I have used the following code: ...
3
votes
1answer
83 views

Is there a way to control the placement of individual tick mark labels?

Let me start by saying there are a lot of other questions here on SE and elsewhere about tick marks in MMA but I think I am correct in saying that none of them cover exactly what I want (apologies if ...
0
votes
2answers
60 views

If Which Piecewise-defined function [closed]

How would I write a function using If and/or Which command for following Piecewise-defined function then plot the function ...
0
votes
0answers
64 views

ensemble averaging

Herephixis $\phi_{xx}$ a coherence matrix and the angle brackets denote ensemble averaging. $E_x$ is the x component of the electric field. $$\phi_{xx}=\langle ...
2
votes
3answers
110 views

Function of surface roughness

How do I draw with Mathematica a function like this? I would use a series of circles and find the surface. Thanks!
0
votes
1answer
82 views

Plotting an Infinite series question [closed]

I am trying to plot the infinite sum: $$u(x,t)=∑_{n=1}(8L^2/(2n-1)^3π^3)\sin(((2n-1)πx)/L)e^{(-(2n-1)^2π^2kt)/L^2}$$ with $L=1$, $k=1$ and $t=0.1$, $0.2$, $0.5$, $1.0$, $10.0$. This is what I have ...
0
votes
2answers
60 views

ListPlot of imginary part

Assuming I have a list like: {{1, 1. - 0.0169212 I}, {2, 0.99611 + 0.0326189 I}, {3,1.02048 + 0.0945609 I}, {4, 1.02722 + 0.138977 I}} When I try now ...
1
vote
1answer
45 views

Y-axis Tick labels are all identical [duplicate]

For Plot[x^12 - x^9 + x^4 + 1, {x, -.001, .001}] Details on Y-axis seem to be wrong.I am using V 9.0.1.0 .Bug?
2
votes
2answers
69 views

Getting axes range from plot (of the plot) [duplicate]

Related to this question in a way. After making a plot, I'd like to get the plot range (not the range of the function, but the range chosen for plotting which usually leaves some buffer room). I've ...
1
vote
1answer
55 views

Avoiding Smoothing in ListSurfacePlot3D

I'm loading a dataset {x,y,z,v} from a text file. It is about a triangulated surface and then I am using ListSurfacePlot3D to plot it. However, ListSurfacePlot3D is ...
2
votes
1answer
52 views
4
votes
2answers
131 views

How can I plot an impulse series within a square wave?

I want to plot a repeated impulse of 1 millisecond (ms) within a signal of 61 Hz (16ms). My current code is: ...
2
votes
0answers
99 views

How to convert an uploaded image to a “dot-to-dot” puzzle? [closed]

I would like to upload an image to Mathematica and have the software place numbered points throughout the image so that it appears as a "dot-to-dot" image puzzle. I would also like to specify exactly ...
3
votes
0answers
63 views

Planning flights for a special route

I want to plan a world trip with Mathematica. So I already have the dataset with all the cities I want to visit and the tour (with the command FindShortestTour). So ...
1
vote
3answers
179 views

how to plot 3d graph for x^2 - y^2 = 1? [closed]

How to plot 3 dimensional graph for x^2 - y^2 = 1? I am already using it and I only can plot in 2 dimensional graph. Can someone help me with this problem?
3
votes
2answers
94 views

Difference Colored legends from main plot

I am using the below code to create legends but I don't know why the colors in legends for various plots are different of devoted to main color of plots From ...
4
votes
0answers
77 views

Area of a image region

I've applied Mathematica to the problem of estimating the area of an estuary, but when I got the results I wasn't able to understand in which unit of area it was given. My approach is the following: ...
3
votes
1answer
145 views

Axis break in Mathematica [duplicate]

I'm looking for a way to make a plot similar to the one I've sketched. So far all I've found is this discussion, which mostly uses Grid. I want the second part of ...
2
votes
1answer
46 views

Interpret hexadecimal sequence as a binary matrix that can be used in AdjacencyGraph

I have a database of hex sequences stored as blob. Each of them is a binary matrix representing the adjacency matrix of a directed graph. I want to use the ...
15
votes
5answers
729 views

Magnifying Glass on a Plot

Although there is a trick in TEX magnifying glass but I want to know is there any function to magnifying glass on a plot with Mathematica? For example for a function as ...
0
votes
1answer
57 views

Attaching labels to the vertices of an Octahedron

How do you attach the labels (e1,e2,e3,e4,e5,e6) to all 6 vertices of the Octahedron below, ensuring that the labels of the first figure corresponds to the end ...
1
vote
1answer
58 views

Labeling the vertices of a graph

I would like to label the vertices of a complete graph alphabetically. But I am stuck because I don't know how to associate only one vertex to a letter. ...
4
votes
3answers
151 views

How to plot real roots of complex polynomials avoiding branch cuts?

Lets say I have the following matrix: M={{1,3+E^(I x),-1+2I x},{3+E^(-I x),2,E^(3I x)},{-1-2I x,E^(-3I x),-2}}; $$ M=\begin{pmatrix} 1& 3+\mathrm e^{ix} ...
0
votes
1answer
164 views

Plotting singular integral

I need to plot the following singular double integration $u(x,t)$ for $t=0, t=0.2, t=0.4, t=1$ and $t=2$ in one figure as a line. That is, I need $u$-coordinate vertically and $x$-coordinate ...
2
votes
0answers
106 views

Bifurcation Diagram of Chua Circuit

I am currently working on a Bifurcation Diagram for Chua's Circuit but I am having trouble coming up with code for a bifurcation of a system of equations. The following equations are given in the ...
-1
votes
1answer
70 views

Make plot of parametric function with piecewise components

How can I plot this curve in Mathematica $x(t)=\begin {cases} 2 (t-n+1) \: , \: t\in [n-1,n-1/2] \\ 2-2 (t-n+1) \: , \: t\in [n-1/2, n] \end {cases}$ $y(t)=\begin {cases} 2 (\sqrt {2}t-n+1) \: , ...
0
votes
0answers
43 views

Anyway to add Epilog graphics outside of plot area without extending the axes? [duplicate]

I'd like to be able to add a line below the x-axis of my plot but not have the y-axis extending down to cover this region (as it defaults to). For example: ...
5
votes
2answers
97 views

Align ColorBar (axislabel) to be parallel to the y-axis for any view-angle

The following code produces the 3D plot below (which is almost what I want). ...
0
votes
1answer
108 views

How to draw normal vector in Mathematica? [duplicate]

Question If I have plane equation $x+y+z=0$, then normal vector is $\{1,1,1\}$. Why is it not normal visually? How can I draw it properly? Code ...
0
votes
1answer
119 views

How can I visualize a frequency as square wave?

I'm trying to get a typical square wave of a 16MHz and 50Hz signal withing a y-range of 0 to 1. My code is: ...
0
votes
1answer
78 views

integrate over the values in the first quadrant [closed]

With these formulas I get two slopes. e describes the energy. How can I integrate over the first quadrant for the values of e? ...
1
vote
2answers
45 views

substitute tangents plane in a function [duplicate]

Let f:= x^5+x^2*y*z^2+z^3*x*y; and let S= {{2,1,0},{7,7,1},{5,1,0},{3,0,1}} be a set of points . I need to calculate the tangent ...
5
votes
3answers
122 views

Plot 2 plots together with different y-axis: in version 10 will not plot entire range

I am trying to plot 2 plots together with a common x-axis and different y-axis. I have tried implementing the modules shown in 1 Plot, 2 Scale/Axis however I do not see the full range of data in the ...
0
votes
1answer
66 views

Is it possible to project a 3D contour plot onto two dimensional space? [duplicate]

I like to draw project of ContourPlot3D into "p-q" plane, but is it possible to do it with Mathematica? Here is my ContourPlot3D: ...
3
votes
1answer
62 views

Polar plots ticks in degrees -180 to 180 [duplicate]

I am trying to create a polar plot with the ticks in degrees, but instead of 0 to 360, I want -180 to 180. PolarTicks -> {"Degrees", Automatic} gives 0 - 360, ...