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

learn more… | top users | synonyms (4)

0
votes
2answers
126 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
110 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
40 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
135 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
75 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
82 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
211 views

ContourPlot - plot only one connected component

How do I plot only one component in ContourPlot when specifying a height. For example, ...
3
votes
2answers
415 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
262 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
277 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
256 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
271 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
110 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
285 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
181 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
125 views
1
vote
2answers
624 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
51 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
88 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
406 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 ...
11
votes
2answers
460 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
106 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
257 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.
1
vote
3answers
151 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
1k 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. ...
1
vote
1answer
125 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
563 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
180 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
1k 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
113 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
233 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
240 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
177 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
196 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: ...
0
votes
2answers
340 views

Manipulate and ListPlot [duplicate]

I have a $300$ by $2$ matrix called r which its elements depend on parameter g. I would like to plot this matrix and change the ...
2
votes
2answers
160 views

how to get a linearized curve in some intervals

in below picture I draw a graph base on weight of a controller system against cost function. I want to linearise and divide this curve to for example 5 five intervals. is there any function in ...
0
votes
1answer
179 views

Better way to plot multiple discrete PDFs?

I often find myself trying to plot multiple PDFs for my courses. I find the default tools available to me are lacking and/or cumbersome. After readings some suggestions here, I have come up with the ...
3
votes
3answers
306 views

How do I fill the area from 0 to pi in my Sine wave and in the process get the area value?

I am new to Mathematica and I tried searching the docs but no specific examples there. This is what I have achieved so far, returns an error, probably wrong syntax. ...
1
vote
1answer
192 views

Overlaying a Plot within a Manipulate Control Panel

Is there a way to overlay a plot into a blank area of a Manipulate control panel, that will still update according to the controls in the Manipulate function? This is an image of what I have: You ...
0
votes
1answer
71 views

Maximum but still limited magnitude region is not plotted with ContourPlot [closed]

The function is well defined in the whole region. But it just skips plotting the center region. I've tried PlotPoints, Mesh, Contours - it didn't help. After making more contours. White hole is ...
1
vote
1answer
58 views

PlotLegends from a List

I want to generate plots showing dependence of a function on another parameter, and automatically add correct PlotLegend that says which graph is which parameter. ...
1
vote
1answer
129 views

Plotting columns of two separate data lists

I have two data lists with names data1 and data2. data1 has 8 columns and data2 has two columns. How can I plot 3rd column of data1 verses 1st column of data2?
3
votes
4answers
215 views

FillingStyle Thickness Distorting ListPlot image

I'm trying to create a histogram using ListPlot using the Filling->Axis and ...
0
votes
1answer
157 views

Plotting a curve in 3D [duplicate]

Say I have two polynomials in $\mathbb{R}[X,Y,Z]$, whose intersection of zero loci correspond to a curve in the 3D space. What is the best way to plot the curve? Example: $$ f = X^2+Y^2-Z^2, \qquad ...
0
votes
2answers
209 views
2
votes
1answer
336 views

Create a graph from KML file

I'm wondering how I can take a .KML (Keyhole Markup Language) file and convert/express it as a graph for use in Mathematica. Even just in general, is it possible to convert a KML file to a graph? I'm ...
0
votes
1answer
166 views

Plotting discrete points on a phase plot

I'm trying to generate a phase plot of a sinusoidal voltage at discrete points using the following code: ...
2
votes
1answer
128 views

Show contour area as tooltip?

I have contour plots, such as plot = ContourPlot[Sqrt[(x - 2)^2 + (y - 2)^2 - 5], {x, -15, 15}, {y, -15, 15}, Contours -> {4}] /. _Polygon -> Sequence[] I ...
5
votes
3answers
340 views

Align plots with a shift

I've got three plots combined through Overlay: ...
1
vote
1answer
132 views

BubbleChart bubble scale depends on y position

I noticed that the scaling of bubbles in the BubbleChart function depends on the y position of a bubble. Compare these two examples. ...