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

learn more… | top users | synonyms (4)

5
votes
1answer
106 views

listplot very large numbers

Suppose we have the following function: NN = 150; W[n1_] := NN!/(n1 ! (NN - n1!)) (1/2)^n1 (1/2)^(NN - n1) Then we can Plot or Listplot it: ...
0
votes
3answers
191 views

How to plot a function with two parameters determined by another parameter?

I have one small question. My code is like follows. ...
3
votes
0answers
56 views

How to change the position of numbers on plot [duplicate]

How to change the position of numbers in axes on plot? I want to see the numbers on the x-axis over it, not under it as it is now to have them clearly visible.
0
votes
0answers
167 views

Why won't Mathematica plot my function? [duplicate]

I'm using a theoretical answer found on the official Wolfram site as a reference to ensure my code isn't faulty (even though I'm fairly confident that my original code is half decent). ...
0
votes
0answers
61 views

How to increase range in Plot without exceeding maximum bounds?

Does there exist some way to increase the plot range of following plot from 10^7 to new value 10^16? It exceeds its maximum ...
5
votes
2answers
294 views

Filling between two spheres in SphericalPlot3D

Manipulate[ SphericalPlot3D[{1, 2 - n}, {θ, 0, Pi}, {ϕ, 0, 1.5 Pi}, Mesh -> None, PlotPoints -> 15, PlotRange -> {-2.2, 2.2}], {n, 0, 1}] I cant' ...
5
votes
3answers
334 views

Labeling points on a graph with their coordinates in parentheses

I need to create some graphs in Mathematica with a bunch of labels, such as axes labels, graph labels, etc. In particular, there must be some points that must be labeled with their coordinates. Thanks ...
2
votes
1answer
135 views

Making a rectangular label for RegionPlot

I have a plot that includes a Region Plot. I want to make a rectangle with the same shading as in the region plot to show as a legend. The dumb way I can think off ...
2
votes
2answers
88 views

Applying Labeled Option to Multiple Options

First post. Hope it's not ignorant. I am trying to label several data points so I can label them properly on a ListLinePlot. I know I can label plots if I am ...
-2
votes
2answers
74 views

Plot isn't outputting a plot [closed]

I am trying to plot the magnitude complex function (f) with respect to w. For some reason, Plot is just displaying a set of axes, with no points. Any Idea what's going on here? ...
2
votes
1answer
134 views

project from a n-dimensional space to 2-dim

let's say that I have a sphere in $N$-dimensions $$x_1^2+x_2^2+...+x_N^2=R$$ If I want to know the projection on the $x_1-x_2$ plane in this case I can figure out myself that is a circle, but how ...
2
votes
1answer
113 views

Single Legend for a Table of Plots

For this toy problem ...
0
votes
1answer
122 views

Plotting a line segment from the degenerate case of an ellipse [duplicate]

An ellipse degenerates into a line segment when the defining constant distance from the two foci is the actual distance between the two foci. The ellipse closes into a line segment. The following ...
1
vote
1answer
109 views

Drawing a shape on the mesh of a Plot3D [duplicate]

My question pertains to modifying the output of a typical Plot3D object, and overlaying a 2D shape, like a circle, on the 3D surface. Thinking of the surface as a stretchy surface, I want to put the ...
6
votes
0answers
168 views

How do I plot a proper streamline plot, including spacings and line endings?

Mathematica includes two nice built-in tools to visualize vector fields, VectorPlot and StreamPlot. The latter is a useful tool, ...
3
votes
1answer
85 views

Plotting ContourLabels on ContourPlot3D

Is there a way to add ContourLabels on ContourPlot3D ? (tried in Mathematica 9) I tried doing the following code : ...
0
votes
2answers
95 views

Result of NIntegrate ploting to list

I've been working on a project where I need to make two Plots. Those plots are of the form: ...
1
vote
1answer
77 views

Question about inequality plot

I fed this inequality into Wolfram/Alpha: Mod[-1 + 2^(1 - IntegerExponent[2 + 2 x, 2]) 3^ IntegerExponent[2 + 2 x, 2] (1 + x), 1 + 2 x] < 1 + 2 x, and got ...
0
votes
0answers
33 views

Plotting a complex valued function in mathematica [duplicate]

How can I plot a complex valued function like $f(z)=z^2, z=x+Iy$, in Mathematica? Can anyone help?
3
votes
1answer
104 views

How to vary thickness of line on the plot? [duplicate]

How to plot the function f(x) so that one part be a thicker line than another depending on the value x? (Curve is efficient frontier - portfolio optimization)
0
votes
0answers
63 views

densityplot + world map overlay [duplicate]

I can make a world map, and I can make a density plot, but I can't seem to get them to overlay. Was trying to use Show to overlay: ...
0
votes
1answer
64 views

How to show an exclusion limit [duplicate]

I would like to show an exclusion plot, by having a filling made of parallel tilted lines. Any ideas? Something along these lines
2
votes
2answers
190 views

ContourPlot - plot only one connected component

How do I plot only one component in ContourPlot when specifying a height. For example, ...
2
votes
2answers
196 views

Add Point to Plot3D

I'd like to simply add a nice thick point in $(0,0,0)$ to Plot3D[(y^2/x), {x, -3, 3}, {y, -3, 3}]. The solutions I came across to add anything to ...
0
votes
1answer
106 views

How to manipulate some list-plot in Mathematica

I have two separated matrices in the form X[[i*dx,j*dt]] and V[[i*dx,j*dt]] where i & j are integers from (1 to N) & (1 to M). V & X are velocity ...
4
votes
1answer
164 views

ContourPlot3D using a Matlab function through MATLink

I have a Matlab function which accepts a 3 dimensional vector and returns a single number. I want to use this through MATLink to make a 3d plot. A unit sphere: ...
-5
votes
1answer
156 views

How can I plot a function that is the sum of another function?

I plotted m[t], but actually what I want to plot is g[t], which is a summation of m[t] from ...
-1
votes
1answer
112 views

Mathematica Semilog (LogLinearPlot) using x,y points from table [duplicate]

I am trying to use the LogLinearPlot in Mathematica 9 to create an x-axis only logarithmic plot that looks like this (Based on N^1.85 graphing paper) http://pingfire.com/ What it does is model a ...
0
votes
1answer
96 views

How to return the points {Xi,Zi} generated by ContourPlot [duplicate]

I have the following two questions How to visualize the dependence Y versus X with Mathematica using ContourPlot, if it is given by the following system of two equations: Y=f(X,Z) and g(X,Z)=0 ...
1
vote
1answer
117 views

Unit of the frequency axis in BodePlot

I have a simple question: What is the unit of the frequency axis in the BodePlot? I searched the documentation, but only found this: The scaling functions can be specified as ...
4
votes
2answers
147 views

Using Multiple Kernels When Making Plots

I am running a notebook that makes multiple plots. I define a function and then I want to plot that function for different choices of parameters, using RegionPlot. ...
1
vote
1answer
110 views
1
vote
2answers
195 views

Plot3D region bounded by equations?

I have four equations, $$ z = xy \\ z=0 \\ y=x^2 \\ x=y^2$$ I would like to integrate the region bounded by them. Before this, I would like to plot the region they bound, but I cannot seem to find ...
0
votes
1answer
47 views

Plotting: Basic Question [duplicate]

I am new user. I am plotting "y = x^3". My "x" domain is "{x, -5, 5}", but then it scales for all "y" values. Is there anyway to zoom in, or have it plot/display a limited "y" range of values? The ...
0
votes
1answer
64 views

StreamPlot Label for General Parameter

I have a simple DEQ: $$y'(t) = y + C$$ for a constant $C$. It turns out that the equilibrium point of this DEQ is $-C$. I can use the StreamPlot command to plot ...
3
votes
3answers
310 views

Draw grid lines at multiples of k

Here is a beginner's question: when creating plots with mathematica, I want the grid lines to be at multiples of a constant value. E.g. in the following plot, the vertical grid lines are at multiple ...
10
votes
2answers
238 views

Plotting time data with axes labels and point labels

I am trying to create a set of commands to automatically create clinical lab value plots. Using time is my major issue here. It is hard to dynamically reference the different point positions to ...
0
votes
1answer
70 views

Problem with Plot of Solution for NDSolve [closed]

I'm trying to plot the solution of an equation using NDSolve. For some reason nothing shows up in the plot. I checked the output of the interpolating function and it doesn't look like there is ...
0
votes
1answer
102 views

spherical polar plot of radial function [closed]

Can you please tell me how to plot $\sqrt{r}$ in 3d sph polar plot? In the spherical plot 3d there is no option I can put variable r. So how should I proceed.
2
votes
3answers
133 views

How to have a special grid as background of a plot?

I want to have a grid background for the function (2/5)*x+3/5 but with one small detail. I want the coordinates of the points to be in the centres of the background ...
6
votes
2answers
380 views

How to reverse the direction of the y axes

I have a similar question to this one. Unfortunately, the answers there didn't help me. I would like to plot a simple function with the normal Plot function. ...
2
votes
1answer
81 views

need help rotating an object about the z-axis using animation

This should be an easy question for anyone familiar with 3D animations. I have a 2D shape denoted by the equation ((x-1)^2+y^2) ((x+1)^2+y^2)==1 and I ...
2
votes
1answer
108 views

ListPointPlot3D with connected points?

With the command ListPlot[data,Joined -> True] I can visually connect adjacent data points in the array with lines. However, this option appears to be missing ...
2
votes
1answer
80 views

How can I get dotted boundaries on a RegionPlot?

How do I plot something like $$\{(x,y): 1 \leq x^2 + y^2 < 9\}?$$ I want to be able to make the boundary $x^2 + y^2 = 9$ dotted line and the unit circle filled and coloured region in between? I ...
1
vote
1answer
127 views

How can I insert text into a relative position in a plot?

I use the following code to draw a parametric plot, with Epilog to add a point, and text using Graphics. ...
2
votes
2answers
90 views

Why I need Evaluate for the Plot of the probability density function of PolyaAeppliDistribution?

I encountered this when I was trying to answer this question. I just can't understand why the following code will only give a line at $y=0$: ...
1
vote
1answer
108 views

Removing the white space around plots when using customized FrameTicks

I'm using the CustomTicks package, which is part of the LevelScheme package, for styling the ...
1
vote
1answer
195 views

Detecting a nonlinear edge in a 2D point pattern

Following an earlier post here, I have generated a point pattern on the unit square $[0,1]\otimes[0,1]$, which is described by a piecewise constant intensity function constructed so that (in ...
0
votes
2answers
141 views

Dynamically change the variables plotted against in Plot3D

This question posed by @Cam is the closest I can find to my question but I feel that the answers don't really guide me in the way in which I'd like to proceed.... How do I dynamically change ...
0
votes
2answers
115 views

How to find intervals in the domain corresponding to intervals in the range?

I want to find the intervals for the argument m1 of this function corresponding to the value for the function lying in given intervals of the range: ...